In my app, I wanted different default value when checked, so I did
something like this after looking at
http://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html#M001612:

  <%= form.check_box :country_id, {}, "254, "0"  %>

and it has worked for me.

In your case, it would be:

  <%= form.check_box :Monday, {}, "1", "0"  %>

although the way you have it should 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 [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
-~----------~----~----~----~------~----~------~--~---

Reply via email to