aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/serializable.rb
Commit message (Collapse)AuthorAgeFilesLines
* Revert the serializers API as other alternatives are now also under discussionJosé Valim2011-11-251-12/+0
|
* Rely solely on active_model_serializer and remove the fancy constant lookup.José Valim2011-11-231-6/+6
|
* Implement ArraySerializer and move old serialization API to a new namespace.José Valim2011-11-231-0/+156
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.