call_reject_if(association_name, attributes) private

Determines if a record with the particular attributes should be rejected by calling the reject_if Symbol or Proc (if defined). The reject_if option is defined by accepts_nested_attributes_for.

Returns false if there is a destroy_flag on the attributes.

Show source
Register or log in to add new notes.