method
association
v3.2.8 -
Show latest stable
- Class:
ActiveRecord::Associations
association(name)public
Returns the association instance for the given name, instantiating it if it doesn’t already exist
association(name)Returns the association instance for the given name, instantiating it if it doesn’t already exist