search for: allergy_item

Displaying 1 result from an estimated 1 matches for "allergy_item".

2006 Mar 05
2
Need help understanding Rails magic!
...surprised. Surprised as in "how the heck did that happen?" I''d really like to understand this and would appreciate any help. Big picture... the user is presented with a form that allows them to select one or more check boxes to record their allergies. The form uses the "allergy_items" table to present the form. allergy_items has columns for each allergy a user may have (name of column = name of allergy), and the value of each field in the record is ''y'' or ''n''. When the user submits the form, the params are read and a record is created...