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 v开发者_如何学Pythonariable or method `params'
for #<ActiveAdmin::Views::Pages::Dashboard:0x00000001a59b00>):
1: render view_factory.dashboard_page
Any tips on this one?
Thanks in advance!
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.
精彩评论