active_model_serializers/test/action_controller
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_selector_test.rb Allow overriding the adapter with render option 2014-11-13 10:23:19 -05:00
explicit_serializer_test.rb Allow for the implicit use of ArraySerializer when :each_serializer is specified. 2014-11-07 09:39:36 -05:00
json_api_linked_test.rb Allow overriding the adapter with render option 2014-11-13 10:23:19 -05:00
serialization_test.rb Adds support for meta attribute 2015-01-05 02:56:33 -02:00