Using scopes on a model that only need to accessed in a controller seems like a leakage of SRP. This gem will allow you to write simple filtering logic that translates your params to AREL queries.
Chris Ostrowski
January 14, 2015 4:54am
MIT