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

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Ransack

Ransack Web Site

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Ransack!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Ruby

Related Categories

Ruby Search Engines, Ruby Search Software

Registered

2020-11-11