transition :activate, { :inactive => :active },
:update =>
[ :name, :password, :password_confirmation ],
:params =>
[ :name, :password, :password_confirmation ],
:available_to => :key_holder do
self['name'] = "blah"
self.save!
end
Andy
If you have more information, please add it to the bug I created:
https://hobo.lighthouseapp.com/projects/8324-hobo/tickets/590-validate_current_password_when_changing_password-fails-on-second-save
thanks,
bryan
> --
>
> You received this message because you are subscribed to the Google Groups "Hobo Users" group.
> To post to this group, send email to hobo...@googlegroups.com.
> To unsubscribe from this group, send email to hobousers+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
>
>
>