elia/activeadmin-mongoid — pull request #11 by jpmckinney (2012-07-01 16:18:53+00:00)
Title: Fix disabling of filters in latest active_admin

In the latest active_admin, [this code](https://github.com/gregbell/active_admin/blob/master/lib/active_admin/filters/resource_extension.rb#L85) expects `@search` to be set. This gem doesn't set it (because of its monkey patch to the `search` method), and AA fails with the following as a result:

undefined method `base' for nil:NilClass

The reason is that the way in which this gem disables the sidebar no longer works. This patch uses a better way of disabling the sidebar (filters), so that the above error doesn't occur.