Hi
Why does a failed "validates_acceptance_of" create a hidden input in the view?
cheers, jason
Hi
Why does a failed "validates_acceptance_of" create a hidden input in the view?
cheers, jason
actually, yes i think they do... check_box has the habit of making a hidden input to represent the 'unchecked' value. not sure why, maybe it's necessary to the rails internals, but the absence of the field from params should be enough IMO to know it's not checked.