Is there any open source (or example) code for Ruby on Rails which can filter, sort, and paginate a certain model? Also, it would be great if the results could come back via Ajax. A good example of what I'm looking for can be seen on this Trulia web page
http://www.trulia.com/for_sale/30000-1000000_price/10001_zip/
(Note that as filters are checked off, the results are updated without a page reload.)
These kinds of operations (filter, sort, paginate) are so common that someone must have written something for this. I could figure it out myself, but am hoping there is either example code or a gem that provides the functions I would need. And again, I'm hoping it can be done with Ajax using either jQuery or prototype.
Thanks.
http://railscasts.com/episodes/240-search-sort-paginate-with-ajax