aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/serializer_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Rely solely on active_model_serializer and remove the fancy constant lookup.José Valim2011-11-231-34/+3
|
* Implement ArraySerializer and move old serialization API to a new namespace.José Valim2011-11-231-3/+62
| | | | | | | | | | | | | The following constants were renamed: ActiveModel::Serialization => ActiveModel::Serializable ActiveModel::Serializers::JSON => ActiveModel::Serializable::JSON ActiveModel::Serializers::Xml => ActiveModel::Serializable::XML The main motivation for such a change is that `ActiveModel::Serializers::JSON` was not actually a serializer, but a module that when included allows the target to be serializable to JSON. With such changes, we were able to clean up the namespace to add true serializers as the ArraySerializer.
* Remove 1.9 Hash syntax - tests passing on 1.8.7Jose and Yehuda2011-10-151-3/+3
|
* Add initial support for embed APIJose and Yehuda2011-10-151-4/+82
|
* Add support for the root attributeJose and Yehuda2011-10-151-14/+62
|
* Fix nil has_one associationJose and Yehuda2011-10-151-0/+18
|
* Add association_idsJose and Yehuda2011-10-151-1/+60
|
* Add support for overriding associations, mostly used for authorizationJose and Yehuda2011-10-151-0/+26
|
* Add support for implicit serializersJose and Yehuda2011-10-151-2/+33
|
* Added has_one and has_manyJose and Yehuda2011-10-151-5/+76
|
* Don't require serializable_hash to take options.Jose and Yehuda2011-10-151-2/+2
|
* Initial implementation of ActiveModel::SerializerJose and Yehuda2011-10-151-0/+75