New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ActionView::Template::Error (undefined method `name' for #<Array:0x9df61d>): #2433
Comments
Could you try using MRI Ruby? I've never run into this problem. Otherwise, it would be great if you could throw up a test Rails app that has this problem so I can try debugging it. |
hi Daxter, MRI Ruby (2.0.0-p247) also run into problems
|
I have traced the source code of active_record and active_admin and saw a deprecation warning DEPRECATION WARNING: call columns with a table name!. (called from collection_size at /usr/local/rvm/gems/jruby-1.7.4@tk/bundler/gems/active_admin-72a9c30cef47/lib/active_admin/helpers/collection.rb:11) I am not sure if problem raised by deprecation API active_record
active admin
output
|
I'm having the same problem with Rails 4. |
Tracked this down to an issue with using a base class on the model. This seems to be a problem in Rails 4. |
Thanks for the context @wbyoung |
I worked around this by patching Kaminari if anyone's interested. I think this can be closed here since the issue isn't in Active Admin. |
Okay, I'm going to close this. Thanks again @wbyoung |
I got below template error when I visit index page with default template
edit & show work well but index doesn't
Is it compatible problem with rails 4 ?
Can anyone help me ?
The text was updated successfully, but these errors were encountered: