Method: Mongoid::Relations::Embedded::In.nested_builder
- Defined in:
- lib/mongoid/relations/embedded/in.rb
.nested_builder(metadata, attributes, options) ⇒ Builder
Return the nested builder that is responsible for generating the documents that will be used by this relation.
161 162 163 |
# File 'lib/mongoid/relations/embedded/in.rb', line 161 def nested_builder(, attributes, ) Builders::NestedAttributes::One.new(, attributes, ) end |