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

undefined method `id' for #<Array:0x00007f9f20e708a8> #13

Open
amadeuspagel opened this issue Aug 3, 2018 · 1 comment
Open

undefined method `id' for #<Array:0x00007f9f20e708a8> #13

amadeuspagel opened this issue Aug 3, 2018 · 1 comment

Comments

@amadeuspagel
Copy link

According to the readme, add_parent accepts multiple arguments, or an array. But if I try to pass an array I get this error. Just adding a single record works.

@njakobsen
Copy link
Contributor

I encountered a strange bug while bringing the specs back up to passing status. See c481c82#diff-4b3866a09deeb45bab597a7d54632213R307. I believe this may solve your issue, but I don't have any more information on what is causing it. This gem was originally written for Rails 2.0 and is suffering from code rot as new versions of Rails change some of the mechanisms it relied upon. PRs are welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants