I solved this issue with hidden fields. You must put a hidden field with the SAME NAME with the value = '0' (or whatever you want to mean unchecked). This sets a default of '0' which is overwritten by the checkbox. However, the hidden field MUST be after the checkbox for it to work, which is counter-intuitive. If the hidden field is before it will overwrite the real value, making all values '0.' -- 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 -~----------~----~----~----~------~----~------~--~---

