Skip to content
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

Nested polymorphic association fix #2363

Closed
wants to merge 2 commits into from

Conversation

voyera
Copy link

@voyera voyera commented Jul 22, 2015

This fork fixes the issue mentionned here: #1338

I'm hoping it can be integrated in the current version of rails_admin.

pencilcheck and others added 2 commits November 15, 2014 02:17
field.associated_model_config returns an array, but abstract_model is in field
@voyera
Copy link
Author

voyera commented Oct 19, 2015

Seems like this is an overdue and quite easy merge, anything I'm missing @sferik ?

@mshibuya
Copy link
Member

We need RSpec tests for this to ensure this fix works properly.

voyera referenced this pull request in playtestcloud/rails_admin Dec 8, 2015
Don't try to access abstract_model of Array.
patleb added a commit to o2web/rails_admin that referenced this pull request Jan 11, 2016
@ivanovaleksey
Copy link

ivanovaleksey commented Jul 29, 2016

Hi! Do you still need specs to merge this?

@mshibuya
Copy link
Member

#2110 is already in the master, closing this.

@mshibuya mshibuya closed this Jul 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants