aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/serializeration
Commit message (Collapse)AuthorAgeFilesLines
* psych does not emit a space after the tagAaron Patterson2011-01-211-1/+1
|
* 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>
* Allowing to_xml :camelize option to be set to :lower to enable ↵Jeremy Holland2010-11-031-0/+7
| | | | lower-camelcase tags [#5903 state:resolved]
* 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
|
* Fix xml serialization test [#4650 state:resolved]Anil Wadghule2010-05-191-2/+5
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Use better assertion methods for testingNeeraj Singh2010-05-191-1/+1
| | | | | | [#4645 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Make ActiveResource serialize XML correctly when element_name is set.Santiago Pastorino2010-05-121-2/+2
| | | | | | [#4529] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* 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>
* test cases for record.to_xml [#458 state:resolved]Neeraj Singh2010-04-301-0/+8
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* array.to_xml should be able to handle all types of data elements [#4490 ↵Neeraj Singh2010-04-291-2/+5
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Fix warnings in AMoJoshua Peek2009-09-052-2/+2
|
* Fix failing AMo isolated testsJoshua Peek2009-09-052-0/+4
|
* Dasherize XML root by default to avoid invalid tags ↵Joshua Peek2009-07-221-0/+11
| | | | "<admin/posts>...</admin/posts>" [#2875 state:resolved]
* Patch to ActiveModel's (and ActiveRecord, by association) XML serialization: ↵John Maxwell2009-07-221-0/+12
| | | | | | If two parameters are present in Procs supplied to to_xml's :procs option, the model being serialized will be passed as the second argument [#2373 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Kill AMo ivar attributes helperJoshua Peek2009-07-202-0/+8
|
* Initial extraction of AMo xml serializerJoshua Peek2009-07-032-0/+158