sferik/rails_admin — Issue #1015: Removing "export" action breaks others
Author: dallas
Created: 2012-02-28 21:05:06+00:00
State: open

The issue here is the use of `RailsAdmin::Config::Actions.find(…)` and the way it currently *expects* an action to be found and therefore immediately calls `.with(bindings)` on it. In the view for the index action, for example, there is a line which looks for an `export_action` using that `find` method, but since the `:export` action is not in `@@actions` no action is found and the `.with(bindings)` call throws the error:

undefined method `with' for nil:NilClass