Skip to content

Instantly share code, notes, and snippets.

@bragboy
Created August 8, 2015 20:10
Show Gist options
  • Save bragboy/88786215f1ec789132a9 to your computer and use it in GitHub Desktop.
Save bragboy/88786215f1ec789132a9 to your computer and use it in GitHub Desktop.
config/initializers/ransack.rb
Ransack::Adapters::ActiveRecord::Base.class_eval('remove_method :search')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment