Object-based searching.
Introduction
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 7.0, 6.1 on Ruby 3.0 and later.
Installation
To install ransack
and add it to your Gemfile, run
gem 'ransack'Bleeding edge
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'Documentation
There is extensive documentation on Ransack, which is a Docusaurus project and run as a GitHub Pages site.
Issues tracker
Contributions
To support the project:
Contributors
Ransack was created by Ernie Miller and is developed and maintained by:
Alumni Maintainers
This project exists thanks to all the people who contribute.
Backers
Thank you to all our backers! 🙏 [Become a backer]
Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]
Twice a month we will interview people behind open source businesses. We will talk about how they are building a business on top of open source projects.
We'll never share your email with anyone else.