Flowdock
method

set_belongs_to_association_for

Importance_1
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: ActiveRecord::Associations::AssociationProxy

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.0.9) is shown here.

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.