activerecord-hackery/ransack — pull request #342 by Bonias (2014-02-27 09:35:20+00:00)
Title: Model.search("") should not raise exception

Consider query like:

users?q=some-string
or

users?q=

and controller content"

User.search(params[:q])