class ActiveAdmin::Resource

Public Instance Methods

default_filters() click to toggle source

the commit: github.com/activeadmin/activeadmin/commit/1ef08af5044814c336917fa93aea607dce16dcb7

adds in the _id field, which doesn't work with ransack for some reason or
another.  I'm not going to investigate any deeper, let's just remove the
underscore prefixed fields as was the prior behavior
Calls superclass method
# File lib/active_admin/mongoid/resource.rb, line 8
def default_filters
  super.reject { |filter|  filter == :_id }
end