rosa-build/config/initializers/ransack.rb

2 lines
176 B
Ruby
Raw Permalink Normal View History

2015-03-04 23:09:50 +00:00
# See: https://github.com/activerecord-hackery/ransack/commit/5c7bb9eaf315a85246a0087c76dff9e5847072a3
Ransack::Adapters::ActiveRecord::Base.class_eval('remove_method :search')