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

Fix infinite recursion #722

Merged
merged 1 commit into from Nov 10, 2014
Merged

Conversation

ggordon
Copy link
Contributor

@ggordon ggordon commented Nov 7, 2014

The method for testing whether to include an association was causing
an infinite loop when two models referenced each other for json_api.

The method for testing whether to include an association was causing
an infinite loop when two models referenced each other.
@kurko
Copy link
Member

kurko commented Nov 10, 2014

You're awesome, @ggordon ❤️ I was having the exact same problem and then you fixed it :D

kurko added a commit that referenced this pull request Nov 10, 2014
@kurko kurko merged commit 33e8d09 into rails-api:master Nov 10, 2014
@ggordon ggordon deleted the stack_level_too_deep branch November 10, 2014 15:55
@ggordon
Copy link
Contributor Author

ggordon commented Nov 10, 2014

@kurko :) Thanks for merging.

@pearkes
Copy link

pearkes commented Nov 12, 2014

Nice, I had this too, thanks!

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

Successfully merging this pull request may close these issues.

None yet

3 participants