I'm currently playing with the new(ish) Rails-API Project - <a href="https://github.com/rails-api">https://github.com/rails-api</a><div><br></div><div><div>I'm using it to build internal services - I'm currently wondering if there's a best practice for taking querystring params and mapping them to an ActiveRecord query.</div>

<div><br></div><div>Obviously, it's possible to build a "Searchable" module/class, but I wondered if anyone has already solved this problem?</div><div><br></div><div>Eg, pagingation, querying on date-ranges, ordering, filtering etc.</div>

</div><div><br></div><div>Thanks!</div><div><br></div><div>Tom</div>