aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/serializer.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add docs to serializers. Update CHANGELOGs.José Valim2011-11-251-7/+71
|
* Rely solely on active_model_serializer and remove the fancy constant lookup.José Valim2011-11-231-37/+8
|
* Implement ArraySerializer and move old serialization API to a new namespace.José Valim2011-11-231-0/+60
| | | | | | | | | | | | | 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.
* Add initial support for embed APIJose and Yehuda2011-10-151-3/+19
|
* Add support for the root attributeJose and Yehuda2011-10-151-1/+12
|
* Fix nil has_one associationJose and Yehuda2011-10-151-2/+2
|
* Add association_idsJose and Yehuda2011-10-151-1/+29
|
* Add support for overriding associations, mostly used for authorizationJose and Yehuda2011-10-151-1/+5
|
* Add support for implicit serializersJose and Yehuda2011-10-151-24/+39
|
* Added has_one and has_manyJose and Yehuda2011-10-151-9/+47
|
* Don't require serializable_hash to take options.Jose and Yehuda2011-10-151-1/+1
|
* Initial implementation of ActiveModel::SerializerJose and Yehuda2011-10-151-0/+46
|
* Break up concerns for choosing what attributes should be serialized and the ↵Joshua Peek2009-08-131-60/+0
| | | | actual serializer
* Integrate AMo JSON serializer into ARJoshua Peek2009-07-031-27/+33
|
* Initial extraction of AMo xml serializerJoshua Peek2009-07-031-0/+54