method
association
rails 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