Skip to content

Conversation

@seanpdoyle
Copy link
Contributor

First, document the ActiveResource::Validations module's built-in behavior for parsing JSON and XML responses that adhere to Active Model error structures, namely {"errors": { … } for JSON responses and <errors><error>…</error></errors> in XML responses.

Next, outline the Active Resource's compatibility with ActiveModel::Validations as well as the specialized behavior provided by ActiveResource::Validations.

First, document the ActiveResource::Validations module's built-in
behavior for parsing JSON and XML responses that adhere to Active Model
error structures, namely `{"errors": { … }` for JSON responses and
`<errors><error>…</error></errors>` in XML responses.

Next, outline the Active Resource's compatibility with
`ActiveModel::Validations` as well as the specialized behavior provided
by `ActiveResource::Validations`.
@rafaelfranca rafaelfranca merged commit aef92ec into rails:main Oct 23, 2025
19 checks passed
@seanpdoyle seanpdoyle deleted the document-validation branch October 23, 2025 19:15
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.

2 participants