Method: DynamicFieldsets::Field#update_field_records

Defined in:
app/models/dynamic_fieldsets/field.rb

#update_field_records(fsa, fieldset_child, value) ⇒ Object

Updates the field records for the field based on the given values

This must be overridden if it is used

Parameters:

  • The associator the value is attached to

  • The fieldset child for the value

  • The new values inputted by the user from the form



229
230
231
# File 'app/models/dynamic_fieldsets/field.rb', line 229

def update_field_records(fsa, fieldset_child, value)
  throw "Field.update_field_records must be overridden to save data from the form."
end