[LRUG] Querying APIs

Tom Blomfield tom at gocardless.com
Fri Nov 23 05:57:10 PST 2012


I'm currently playing with the new(ish) Rails-API Project -
https://github.com/rails-api

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.

Obviously, it's possible to build a "Searchable" module/class, but I
wondered if anyone has already solved this problem?

Eg, pagingation, querying on date-ranges, ordering, filtering etc.

Thanks!

Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20121123/57f40e5a/attachment-0003.html>


More information about the Chat mailing list