CheckboxSetHelper ================= Author: Xavier Shay (contact@rhnh.net) Website: http://rhnh.net/ Revisions: 0.1 (2 September 2006) - Initial Release Provides a helper class property for using checkboxes for selecting multiple items (for instance, children in a has_many relationship). == Quickstart 1. Copy/symlink/svn:external into your vendor/plugins directory 2. rake test:plugins - Have to keep me honest ;) 3. Include 'CheckboxSetHelper' in your model 4. Add a property to your model - "checkbox_set :item_choice" 5. In your view, name your checkboxes "item_choice_#{id}", where id is the id of the option this checkbox represents. Example: item_choice_2 6. After form submission, you can access a set containing all the checked items by accessing the "item_choices" property