This project is archived and is in readonly mode.
inverse_of causes infinite loop with accepts_nested_attributes_for
-
Ryan Bigg
- State changed from new to needs-more-info
- Importance changed from to Low
Please attach a patch to duplicate this issue in Rails.
-
Ryan Bigg
Automatic cleanup of spam.
-
Hung Le
We ran to a similar issue using Rails 3.0 and traced it down to having "accepted_nested_attributes_for" in both the parent and its associated model(s). The problem went away when we removed the statement in the associated models.
-
Santiago Pastorino
- State changed from needs-more-info to open
This issue has been automatically marked as stale because it has not been commented on for at least three months.
The resources of the Rails core team are limited, and so we are asking for your help. If you can still reproduce this error on the 3-0-stable branch or on master, please reply with all of the information you have about it and add "[state:open]" to your comment. This will reopen the ticket for review. Likewise, if you feel that this is a very important feature for Rails to include, please reply with your explanation so we can consider it.
Thank you for all your contributions, and we hope you will understand this step to focus our efforts where they are most helpful.
-
Santiago Pastorino
- State changed from open to stale
-
Stephan Kaag
- State changed from stale to open
This is still an issue.
See: https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets...
[state:open]
-
hemant
Santiago,
I've attached a patch that demonstrates test for this problem on master branch.
Also I could replicate the issue locally on 3.0.3 stable branch.
-
Joey
I am experiencing the same issue on the 3.0.5 stable branch with Ruby 1.9.2 p180.
-
pechorin-andrey
same error on 3.0.7 with 1.8.7 mri
