Method: Dbee::Dsl::Methods#child
- Defined in:
- lib/dbee/dsl/methods.rb
#child(name, opts = {}) ⇒ Object
28 29 30 31 32 |
# File 'lib/dbee/dsl/methods.rb', line 28 def child(name, opts = {}) association = association_builder.child_association(self.name, name, opts) association(name, association) end |