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