4 ms·
Couldn't you easily accomplish the same thing via the ransack gem? https://github.com/activerecord-hackery/ransack/wiki/Basic-Searching https://github.com/acti
by jerhinesmith 12y ago
Couldn't you easily accomplish the same thing via the ransack gem?
https://github.com/activerecord-hackery/ransack/wiki/Basic-Searching https://github.com/activerecord-hackery/ransack/wiki/Basic-S...
- keithwhor 12y agoYes, I'm sure you could --- in combination with ActiveModel::Serializer. Our approach was meant to attack a combination of common, specific problems (standardized way to output API data, queryable with logic via HTTP parameters, a single SQL query to collect and aggregate data) with a dead simple, low-overhead solution.