Hello everyone, I'm new to RoR, and I have a silly problem I can't solve. I have a User class, with some attributes (login, password, online..). In the login form, I have a checkbox. I want to change the value of the online attribute if this checkbox is checked. I know it must be something like (if params[:checkboxname]==true). Does anyone how to do that?
thanks a lot -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

