-
Notifications
You must be signed in to change notification settings - Fork 99
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
Undefined Method for <ActiveRecord::Associations::CollectionProxy []> #33
Comments
Further digging, it looks like this is likely due to a change in Administrate between In Vs Administrate core stopped rescuing |
@nickcharlton I have opened PR #34 which addresses this problem. It also captures the same changes made in #31 and #32 in order to get tests passing against Administrate 0.13.0. |
Confirming that the issue is solved with the PR. |
This is due to a change in Administrate between 0.12.0 and 0.13.0, where we stopped rescuing NameError and started returning nil. Also adds an explicit test for administrate 0.13.0. Fixes #33.
I am seeing this issue on Rails
6.0.2.1
, Administrate0.13.0
and the currentmaster
branch of NestedHasMany.My configuration is very simple:
Here is the relevant section of the stack trace:
The exact same code with
Field::HasMany
works correctly. All dashboards are working individually.The text was updated successfully, but these errors were encountered: