Advanced Search with Ransack

Originally published at: http://www.sitepoint.com/advanced-search-ransack/

In this tutorial we will explore how to add complex search functionality into your Rails application. This task will be made easier by the awesome Ransack Ruby gem. Ransack provides excellent helpers and builders for handling advanced searches on your models. It has some really powerful features available out of the box without writing a lot of code, such as sorting or conditional search.

Continue reading this article on SitePoint

Have you compared performance metrics of using Ransack vs ElasticSearch? It would seem that the latter would be markedly faster, but I’d really like to see some metrics to give some real understanding of this landscape.

How can I get ransack search to work across site? Currently, it gives me an error when I put it inside of my topbar.

No Ransack::Search object was provided to search_form_for!

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.