Method: FormJourney::UsesSingleModel::ClassMethods#model_scope
- Defined in:
- lib/form_journey/uses_single_model.rb
#model_scope(*scope) ⇒ Object
65 66 67 68 69 70 71 |
# File 'lib/form_journey/uses_single_model.rb', line 65 def model_scope(*scope) if scope.size == 1 self._model_scope = scope.first else self._model_scope = scope end end |