Lawrence Pit
|
8817796167
|
Added test for obj.errors.as_json
|
2011-09-09 18:34:13 +10:00 |
|
Lawrence Pit
|
f5a944f662
|
Add ability to get an individual full error message + test for full_messages.
|
2011-09-09 18:28:25 +10:00 |
|
Damien Mathieu
|
e0335e2ccb
|
add has_key? to ActiveModel::Errors
|
2011-09-06 18:36:18 +02:00 |
|
thedarkone
|
efe4cbe5f2
|
Handle the empty array correctly.
|
2011-07-27 18:07:47 +02:00 |
|
Aaron Patterson
|
f48d32c0cf
|
implementing include? on AM::Errors
|
2011-02-09 09:19:56 -08:00 |
|
Hemant Kumar
|
8de5595e4d
|
fix difference between behaviour of blank and empty
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2011-01-05 13:18:10 +01:00 |
|
Thilo Utke
|
7148b933c4
|
ActiveModel::Errors.to_hash returns plain OrderedHash and used in to_json serialization to properly handle multiple errors per attribute [#5615 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-12-01 11:43:37 +01:00 |
|
José Valim
|
1ec126dd37
|
Revert "Fix generation of wrong json string when field has multiple errors"
This reverts commit a9b666b51d .
|
2010-12-01 11:42:30 +01:00 |
|
Krekoten' Marjan
|
a9b666b51d
|
Fix generation of wrong json string when field has multiple errors
|
2010-12-01 00:03:42 +08:00 |
|
Neeraj Singh
|
fb2b8fec24
|
adding test cases for ActiveModel::Errors
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-08-03 10:46:16 +02:00 |
|