Flowdock
method

set_belongs_to_association_for

Importance_1
v3.0.5 - Show latest stable - 0 notes - Class: ActiveRecord::Associations::AssociationProxy
set_belongs_to_association_for(record) protected

Assigns the ID of the owner to the corresponding foreign key in record. If the association is polymorphic the type of the owner is also set.

Show source
Register or log in to add new notes.