Method: ActiveRecord::Associations::Association#set_inverse_instance_from_queries
- Defined in:
- lib/active_record/associations/association.rb
#set_inverse_instance_from_queries(record) ⇒ Object
122 123 124 125 126 127 |
# File 'lib/active_record/associations/association.rb', line 122 def set_inverse_instance_from_queries(record) if inverse = inverse_association_for(record) inverse.inversed_from_queries(owner) end record end |