Dan Gebhardt
3b1d2faf51
Append an _id or _ids suffix to associations' keys. Embed objects in root according to their serializers' names.
...
An `_id` suffix will be appended to the name of HasOne associations, while `_ids` will be appended to the singularized name of HasMany associations. Association keys can still be overridden with the `key` option.
Furthermore, objects embedded in the root are now by default named according to their serializer, instead of the key used for their associations.
2012-12-21 15:14:50 -05:00
Jose Angel Cortinas
d0ab0ccc97
Take a stab at documenting AMS support.
...
Specifically when used in objects that are not ActiveRecord objects.
2012-12-17 17:17:32 -06:00
Gabe Martin-Dempesy
0e02e79af8
Update documentation to use ActiveSupport.on_load to disable root
2012-11-30 13:47:09 -06:00
Francesco Rodriguez
d3b02ab8b3
update travis link [ci skip]
2012-11-20 20:37:23 -05:00
Alexandre de Oliveira
3fd7d6ae2f
Fixes repo URL in the README's installation instructions
...
When the gem moved over to github.com/rails_api/, the README instructions
were still pointing to github.com/josevalim/.
2012-11-19 01:05:00 -02:00
Gary S. Weaver
9cd472c160
#133 making :serializer and :polymorphic documentation less verbose
2012-10-09 09:37:59 -04:00
Gary S. Weaver
257adfc80e
#133 adding documentation for :serializer and :polymorphic options on associations
2012-10-08 17:17:14 -04:00
Jo Liss
afc3beef16
Merge pull request #122 from oriolgual/patch-1
...
Document how to embed ids or objects per association
2012-09-12 14:23:50 -07:00
Dan Gebhardt
7fc8606101
documentation of conditional include options for serializers
2012-08-29 10:54:56 -04:00
Oriol Gual
027f1580dc
Document how to embed ids or objects per association
2012-08-27 11:51:16 +03:00
Ray Cohen
63465fda68
fix custom attributes with scope readme section
2012-07-28 13:01:06 -04:00
Tee Parham
6a37cfe219
fix typo in README
2012-07-23 14:07:49 -06:00
Tee Parham
663d443884
Merge branch 'array-serializer-root' of github.com:teeparham/active_model_serializers into readme-arrays
2012-07-23 13:02:04 -06:00
José Valim
77b873a9a4
Update release notes for upcoming release
2012-07-21 09:52:39 +02:00