Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

mongeta's Profile

GitHub User: mongeta

Comments by

Avatar

Is it possible to Create Ransack::Search object without querying DB ?

I'd like to be able to create a Ransack::Search object to be passed into a search_form_for, but the initial creation of the search object queries the database, wich I don't want.

I want to show an initial blank form with Ransack::Search options to search, without calling the database.

How can I do that ?

Asked in stackoverflow