Method: ROM::Factory::TupleEvaluator#model
- Defined in:
- lib/rom/factory/tuple_evaluator.rb
#model(traits, combine: assoc_names(traits)) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
52 53 54 |
# File 'lib/rom/factory/tuple_evaluator.rb', line 52 def model(traits, combine: assoc_names(traits)) @relation.combine(*combine).mapper.model end |