active_model_serializers/test/serializers
Alexandre de Oliveira bd27da1b76 Adds support for meta attribute
Currently, 0.10.0.pre doesn't support `meta` option in `render`. This
way, there's no way to support features such as pagination. `0.9` had
this feature in place.

This adds support for it, as well as fixes small things in README.md.

This won't support `meta` in array responses because arrays don't have
keys, obviously. Also, the response should have a `root` key, otherwise
no `meta` will be included.

In some cases, for example using JsonApi, ArraySerializer will result in
a response with a `root`. In that case, `meta` will be included.
2015-01-05 02:56:33 -02:00
..
adapter_for_test.rb Remove 'Adapter' suffix from adapters since they are in Adapter:: namespace 2014-08-29 11:40:56 +04:00
associations_test.rb Bugfix: include nested has_many association 2014-11-11 14:35:00 -02:00
attribute_test.rb Rename attribute with :key (0.8.x compatibility) 2014-11-13 08:03:22 -05:00
attributes_test.rb Move serializer tests into their own directory. 2014-07-09 16:19:02 -04:00
configuration_test.rb Allow overriding the adapter with render option 2014-11-13 10:23:19 -05:00
generators_test.rb Move serializer tests into their own directory. 2014-07-09 16:19:02 -04:00
meta_test.rb Adds support for meta attribute 2015-01-05 02:56:33 -02:00
serializer_for_test.rb Check superclasses for Serializers 2014-10-13 17:39:54 -06:00
urls_test.rb Add DSL for urls 2014-09-01 13:44:22 -05:00