Class: Filterameter::Filters::NestedCollectionFilter
- Inherits:
-
NestedFilter
- Object
- NestedFilter
- Filterameter::Filters::NestedCollectionFilter
- Defined in:
- lib/filterameter/filters/nested_collection_filter.rb
Overview
Nested Collection Filter
Class NestedCollectionFilter joins the nested table(s), merges the filter to the association’s model, then makes the results distinct.
Instance Method Summary collapse
Methods inherited from NestedFilter
Constructor Details
This class inherits a constructor from Filterameter::Filters::NestedFilter
Instance Method Details
#apply ⇒ Object
10 11 12 |
# File 'lib/filterameter/filters/nested_collection_filter.rb', line 10 def apply(*) super.distinct end |