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