I have a terms of service agreement attached to a checkbox. It seems to work ok and I see
"agreement"=>"0" when the box is not checked in the development log and "agreement"=>"1" when the box is checked in the log. But in the model I this validation: validates_acceptance_of :agreement, :message => "Please accept the terms to proceed" So when the form is actually filled out, no matter whether the box is checked or not I get: 1 error prohibited this agent from being saved There were problems with the following fields: -Agreement, Please accept the terms to proceed So what am I missing to get this to work? --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---