I've created two users.. first one by default is an Administrator.

When I Edit the second user and tick the Administrator checkbox and
hit save, the following is PUT

UsersController#update
Parameters: {"user"=>{"name"=>"Test Admin",
"password_confirmation"=>"[FILTERED]", "administrator"=>"0",
"password"=>"[FILTERED]", "email_address"=>"[email protected]"},
"page_path"=>"users/edit", "action"=>"update", "_method"=>"PUT",
"authenticity_token"=>"mkMq/b5kM6S1BIgQ7uOY3xnbvGct/soz7tYIklezuCc=",
"id"=>"8-test-admin", "controller"=>"users"}

If you look at the "administrator" parameter it is set for "0".  If I
ticked the box before I hit save, I'd think it would be a "1" or a
"t".

What gives?

--~--~---------~--~----~------------~-------~--~----~
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