Search everywhere and in a hurry!
See the code
Ransack will help you easily add searching to your Rails application, without any additional dependencies.
There are advanced searching solutions around, like ElasticSearch or Algolia. Ransack will do the job for many Rails websites, without the need to run additional infrastructure or work in a different language. With Ransack you do it all with standard Ruby and ERB.
Ready to move beyond the basics? Use advanced features like i18n and extensive configuration options.
Ransack is supported for Rails 8.1, 8.0, 7.2 on Ruby 3.2 and later.
To install ransack and add it to your Gemfile, run
gem 'ransack'
If you would like to use the latest updates not yet published to RubyGems, use the main branch:
gem 'ransack', :github => 'activerecord-hackery/ransack', :branch => 'main'
There is extensive documentation on Ransack, built with Jekyll and Just the Docs from the Markdown under docs/ and published as a GitHub Pages site. Alternatively there is AI Generated documentation produced by devin.ai.
This gist has a quick-start cheatsheet, created by @raghubetina
To support the project:
Ransack was created by Ernie Miller and is developed and maintained by:
Alumni Maintainers
This project exists thanks to all the people who contribute.
530 followers · starred Nov 2018
168 followers · starred May 2015
455 followers · starred May 2025
233 followers · starred Mar 2011
Ruby
100.0%
Search everywhere and in a hurry!
See the code
Ransack will help you easily add searching to your Rails application, without any additional dependencies.
There are advanced searching solutions around, like ElasticSearch or Algolia. Ransack will do the job for many Rails websites, without the need to run additional infrastructure or work in a different language. With Ransack you do it all with standard Ruby and ERB.
Ready to move beyond the basics? Use advanced features like i18n and extensive configuration options.
Ransack is supported for Rails 8.1, 8.0, 7.2 on Ruby 3.2 and later.
To install ransack and add it to your Gemfile, run
gem 'ransack'
If you would like to use the latest updates not yet published to RubyGems, use the main branch:
gem 'ransack', :github => 'activerecord-hackery/ransack', :branch => 'main'
There is extensive documentation on Ransack, built with Jekyll and Just the Docs from the Markdown under docs/ and published as a GitHub Pages site. Alternatively there is AI Generated documentation produced by devin.ai.
This gist has a quick-start cheatsheet, created by @raghubetina
To support the project:
Ransack was created by Ernie Miller and is developed and maintained by:
Alumni Maintainers
This project exists thanks to all the people who contribute.
530 followers · starred Nov 2018
168 followers · starred May 2015
455 followers · starred May 2025
233 followers · starred Mar 2011
Ruby
100.0%