Ivan
Ivan

Reputation: 883

undefined variable or method 'params' for ActiveAdmin

Just installed Rails 3.1 rc5 and ActiveAdmin from rails-3-1 branch. Installation went good, and I see the login form. However when I login with provided username/password I'm getting 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 tips on this one?

Thanks in advance!

Upvotes: 5

Views: 1106

Answers (1)

Greg Bell
Greg Bell

Reputation: 374

The rails-3-1 branch has been merged in to master includes a bunch more bug fixes. Can you please use master instead of rails-3-1 and see if that works?

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


EDIT: I just pushed a fix to github (7cd0bcc2e953969541c22c2fe5842995f4fbb80d) that fixes this "params" issue. Should work using Github master branch now.

Upvotes: 8

Related Questions