aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/serializeration/json_serialization_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* ActiveModel::Errors.to_hash returns plain OrderedHash and used in to_json ↵Thilo Utke2010-12-011-7/+8
| | | | | | serialization to properly handle multiple errors per attribute [#5615 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* fixed some issues with JSON encodingJakub Suder2010-09-071-0/+27
| | | | | | | | | | | - as_json in ActiveModel should return a hash and handle :only/:except/:methods options - Array and Hash should call as_json on their elements - json methods should not modify options argument [#5374 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Adding missing required statementSubba Rao Pasupuleti2010-08-141-0/+1
| | | | | | [#5056 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-141-5/+5
| | | | 's/[ \t]*$//' -i {} \;)
* ActiveModel::Errors json serialization to work as Rails 3b4 [#5254 ↵Alex Le2010-08-021-1/+15
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Really make include_root_in_json default to true [#3770 state:resolved]José Valim2010-06-081-15/+21
|
* Active Model JSON serializer now supports custom root optionJatinder Singh2010-05-041-0/+16
| | | | | | [#4515 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Fix warnings in AMoJoshua Peek2009-09-051-1/+1
|
* Fix failing AMo isolated testsJoshua Peek2009-09-051-0/+2
|
* Kill AMo ivar attributes helperJoshua Peek2009-07-201-0/+4
|
* Initial extraction of AMo xml serializerJoshua Peek2009-07-031-0/+77