You've hit the checkbox change made in Rails 2.3; the fix is in Hobo  
edge. See previous posts about "Problem with the boolean input type in  
the form and view"  from about 2 weeks ago for more info.

--Matt Jones

On Jun 18, 2009, at 4:18 PM, bcavileer wrote:

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