Thank you for responses!

@Kevin:
Well, in the meantime, as I wasn't able deal with avialable_to I ommit
that attribute - I will correct code according to your hints.
On the other hand I did the following things:
I get deactivate_user form from forms.dryml and added to 'edit user'
page in application_dryml.
So I have Deactivate User button on my form, but when I click it I
get:

That operation is not allowed
Exception:
#<Hobo::PermissionDeniedError: Hobo::PermissionDeniedError>
params:
{"page_path"=>"users/edit",
 "authenticity_token"=>"oAoQ8ofvaJ46HRuZ0xz7iIM/aiU3aFxdPcgvjxZe+XU=",
 "_method"=>"PUT",
 "action"=>"do_deactivate_user",
 "id"=>"5-ade-vogt",
 "controller"=>"users"}

I wish I was more experienced with RoR, cause I am not able to find
what needs to be done more....

In the meantime - I tried creating transition-button like this:
<transition-button transition="deactivate_user" label="Deactivate
user"/>
but i get "undefined method `name' for nil:NilClass"

@Ronny:
My hobo gems are:
hobo (1.0.1)
hobofields (1.0.1)
hobosupport (1.0.1)


-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to