Method: Brainstem::Presenter#present_model
- Defined in:
- lib/brainstem/presenter.rb
#present_model(model, requested_associations = [], options = {}) ⇒ Object
125 126 127 |
# File 'lib/brainstem/presenter.rb', line 125 def present_model(model, requested_associations = [], = {}) group_present([model], requested_associations, ).first end |