method
reflect_on_association
reflect_on_association(association)
public
Returns the AssociationReflection object for the named association (use the symbol). Example:
Account.reflect_on_association(:owner) # returns the owner AssociationReflection Invoice.reflect_on_association(:line_items).macro # returns :has_many