Create search forms for your Ruby on Rails application with Ransack! Ransack is available in two modes: simple and advanced, allowing you to create either simple or advanced search forms. Simple mode works much like MetaSearch and is very easy to set up. The advanced mode makes use of Rails' nested attributes functionality in order to generate complex queries with nested AND/OR groupings, etc. This involves more complexity but does produce some very interesting search interfaces and puts more power in the hands of users.
Ransack is compatible with Rails 5.0, 5.1, 5.2 and 6.0, and on Ruby 2.3 and later.
Features
- Creates search forms for Ruby on Rails application
- Simple or advanced mode
- Search for objects in associations
- Ransack Aliases - customized attribute names for Ransack searches
- Search Matchers
- Special methods for creating additional search functions via Arel
- I18n
- Selective authorization
License
MIT LicenseFollow Ransack
You Might Also Like
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Ransack!