reflect_on_association(association)
Instance Public methods
Returns the AssociationReflection object for the association
(use the symbol).
1 2 3 4 | Account.reflect_on_association( :owner ) # returns the owner AssociationReflection Invoice.reflect_on_association( :line_items ).macro # returns :has_many @api public |
Please login to continue.