reflect_on_association(association) public

Returns the AssociationReflection object for the named aggregation (use the symbol). Example:

  Account.reflect_on_association(:owner) # returns the owner AssociationReflection
Show source
Register or log in to add new notes.