Flowdock
method

assign_to_or_mark_for_destruction

Importance_1
Ruby on Rails latest stable (v4.0.2) - 0 notes - Class: ActiveRecord::NestedAttributes
assign_to_or_mark_for_destruction(record, attributes, allow_destroy) private

Updates a record with the attributes or marks it for destruction if allow_destroy is true and has_destroy_flag? returns true.

Show source
Register or log in to add new notes.