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

JSON responder should return errors with :errors root #3272

Merged
merged 1 commit into from
Oct 10, 2011

Conversation

odorcicd
Copy link
Contributor

JSON responder currently returns errors without an :errors root which I believe it should. I think that's how it is documented to work as well.

@guilleiguaran
Copy link
Member

cc @josevalim

This closes #3269

josevalim added a commit that referenced this pull request Oct 10, 2011
JSON responder should return errors with :errors root
@josevalim josevalim merged commit 84c8b2f into rails:master Oct 10, 2011
@odorcicd
Copy link
Contributor Author

Thanks @josevalim!
You might want to look into pulling in #3046 as well, so that ActiveResource parses the JSON errors correctly.

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

4 participants