mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
There is no type="array" returned with errors. [#3691:resolved]
This commit is contained in:
parent
f2991fc9cc
commit
f453bb6d8a
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ module ActiveResource
|
||||||
# # is requested with invalid values, the response is:
|
# # is requested with invalid values, the response is:
|
||||||
# #
|
# #
|
||||||
# # Response (422):
|
# # Response (422):
|
||||||
# # <errors type="array"><error>First cannot be empty</error></errors>
|
# # <errors><error>First cannot be empty</error></errors>
|
||||||
# # or
|
# # or
|
||||||
# # {"errors":["First cannot be empty"]}
|
# # {"errors":["First cannot be empty"]}
|
||||||
# #
|
# #
|
||||||
|
|
Loading…
Reference in a new issue