Undefined variable or method 'params' for ActiveAdmin

Just installed Rails 3.1 rc5 and ActiveAdmin from the rails-3-1 branch. The installation was successful, and I see the login form. However, when I log in with the username / password provided, I get the following error:

ActionView::Template::Error (undefined local variable or method `params'
      for #<ActiveAdmin::Views::Pages::Dashboard:0x00000001a59b00>):
    1: render view_factory.dashboard_page

Any clues on this?

Thanks in advance!

+5
source share
1 answer

The rails-3-1 branch has been merged with the wizard, which includes many bug fixes. Can you use the master instead of rails-3-1 and see if this works?

I will work on adding Rails 3.1.rc5 to the test suite to ensure that everything works as expected.


EDIT: github (7cd0bcc2e953969541c22c2fe5842995f4fbb80d), "params". Github.

+8

All Articles