Flowdock
method

call_reject_if

Importance_1
Ruby on Rails latest stable (v4.0.2) - 0 notes - Class: ActiveRecord::NestedAttributes
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.