Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rely solely on active_model_serializer and remove the fancy constant lookup. | José Valim | 2011-11-23 | 1 | -34/+3 |
| | |||||
* | Implement ArraySerializer and move old serialization API to a new namespace. | José Valim | 2011-11-23 | 1 | -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.7 | Jose and Yehuda | 2011-10-15 | 1 | -3/+3 |
| | |||||
* | Add initial support for embed API | Jose and Yehuda | 2011-10-15 | 1 | -4/+82 |
| | |||||
* | Add support for the root attribute | Jose and Yehuda | 2011-10-15 | 1 | -14/+62 |
| | |||||
* | Fix nil has_one association | Jose and Yehuda | 2011-10-15 | 1 | -0/+18 |
| | |||||
* | Add association_ids | Jose and Yehuda | 2011-10-15 | 1 | -1/+60 |
| | |||||
* | Add support for overriding associations, mostly used for authorization | Jose and Yehuda | 2011-10-15 | 1 | -0/+26 |
| | |||||
* | Add support for implicit serializers | Jose and Yehuda | 2011-10-15 | 1 | -2/+33 |
| | |||||
* | Added has_one and has_many | Jose and Yehuda | 2011-10-15 | 1 | -5/+76 |
| | |||||
* | Don't require serializable_hash to take options. | Jose and Yehuda | 2011-10-15 | 1 | -2/+2 |
| | |||||
* | Initial implementation of ActiveModel::Serializer | Jose and Yehuda | 2011-10-15 | 1 | -0/+75 |