method
build_association
v3.2.1 -
Show latest stable
- Class:
ActiveRecord::Reflection::AssociationReflection
build_association(*options, &block)public
Returns a new, unsaved instance of the associated class. options will be passed to the class’s constructor.