method
reject_new_record?
v3.1.0 -
Show latest stable
- Class:
ActiveRecord::NestedAttributes
reject_new_record?(association_name, attributes)private
Determines if a new record should be build by checking for has_destroy_flag? or if a :reject_if proc exists for this association and evaluates to true.