Top "Ransack" questions

Ransack is a Ruby gem that enables object-based searching against an application's models.

Remove order from ActiveRecord scope

I'm using rails ransack ( https://github.com/ernie/ransack ) to allow the users to filter and sort some records. I …

ruby-on-rails activerecord ransack
Rails + Ransack - Drop Down List Collection?

I am loving the ransack gem for its flexibility, however I am unable to get the standard collection_select to …

ruby-on-rails ransack
Ransack, search multiple columns, one field, rails 3

I'm new to Ruby on Rails, and I'm creating my first site. I have a user model with 3 columns: firstname, …

ruby-on-rails search ransack
Ransack: How to use existing scope?

Converting a Rails 2 application to Rails 3, I have to replace the gem searchlogic. Now, using Rails 3.2.8 with the gem Ransack …

ruby-on-rails ruby-on-rails-3 arel ransack
searching records between start date and end dates for ransack

Hi i am using ransack + kalendae_assets gem for searching records in between start date and end date for this …

ruby-on-rails ruby-on-rails-3 ruby-on-rails-3.2 ransack
Custom search with ransacker

I'm trying to add a custom filter to ActiveAdmin which is powered by Ransack these days. Unfortunately, ransacker is not …

ruby-on-rails activeadmin ransack
Setting default search parameter on Ransack for rails

I've been wracking my brain over this but can't get it. I feel like the answer is probably obvious. What …

ruby-on-rails ruby-on-rails-3 search ransack
How to set defaults for ransack sorting?

To put simply enough, I'd just like to know if there's a way to set defaults for the sorting functionality …

ruby ruby-on-rails-3.2 ransack
Rails sorting associations with Ransack

first time poster. I am trying to sort a table of users using the Ransack gem and Kaminari for pagination. …

ruby-on-rails-3 sorting ransack
Search multiple models at once with Ransack

I have a search form in the header of my app and I would like to use this search form …

ruby-on-rails ruby search ransack