1
0
Fork 0
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:
Ryan Bigg 2010-06-12 12:13:21 +10:00
parent f2991fc9cc
commit f453bb6d8a

View file

@ -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"]}
# # # #