Module: ScopeHound::FilterableModel
- Extended by:
- ActiveSupport::Concern
- Defined in:
- app/models/concerns/scope_hound/filterable_model.rb
Overview
Delegates all the filtering methods to the filter_proxy
Instance Method Summary collapse
Instance Method Details
#filter_proxy ⇒ Object
8 9 10 11 12 13 |
# File 'app/models/concerns/scope_hound/filterable_model.rb', line 8 def filter_proxy raise " Model #{name} including FilterableModel concern requires filter_proxy method to be defined. Method should return filter proxy class associated to model. " end |