-
-
Notifications
You must be signed in to change notification settings - Fork 491
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
NoMethodError: undefined method `association' #154
Comments
The same bug on rails 3.0.11 and ruby ee 1.8.7 p358 2012.02 |
Same Problem with Rails 3.0.13: 2.1.4 shows the "undefined method `association'" (when we call 'save' or 'save!'), |
Bonus points if anybody can bisect the commit that caused this and explain why :-) |
I've added 3.0, 3.1 and 3.2 as test targets on Travis CI which reveal the issue in 3.0.x: http://travis-ci.org/#!/collectiveidea/awesome_nested_set/builds/2576086 |
We have had to do similar workaround in the past for globalize3: Perhaps that'll help someone. |
Solved it. I'll wait for the tests to pass and then release 2.1.5. |
Version 2.1.5 released to RubyGems. Thanks @PhilT @krsch @st-keller We have far better regression testing, now :-) |
In IRB (Ruby 1.9.2-p290, Rails 3.0.17):
This works in awesome_nested_set version: 2.0.2 (Just tested in IRB as well).
I'll test other versions and see when it was introduced. Could it be something to do with it being an older version of Rails?
UPDATE: Looks like it's working up to and including 2.1.3. So possibly introduced in 2.1.4.
The text was updated successfully, but these errors were encountered: