Displaying 1 result from an estimated 1 matches for "find_allergi".
Did you mean:
find_allergies
2006 Mar 05
2
Need help understanding Rails magic!
...*all* the records.
Thanks in advance for any help you can give me.
Best regards,
Bill
------------------------ controller code -------------------------
class AllergyController < ApplicationController
model :emrec
model :allergy
model :allergy_item
def new
@allergy_item = find_allergies
end
def update
@allergy_item = find_allergies
@emrec = find_emrec
######
# This is the code I don''t understand. My intention was to check the new params entry for each
# allergy record to see if it had been deselected. If it had, I''d delete the...