Merge pull request #1418 from brigade/collection-pluralize

Don't pluralize the CollectionSerializer#root for #json_key
This commit is contained in:
Alexandre de Oliveira
2016-01-25 19:46:47 -02:00
4 changed files with 22 additions and 10 deletions

View File

@@ -13,6 +13,9 @@ Breaking changes:
Adapter functions.
* named `Base` because it's a Rails-ism.
* It helps to isolate and highlight what the Adapter interface actually is.
- [#1418](https://github.com/rails-api/active_model_serializers/pull/1418)
serialized collections now use the root option as is; now, only the
root derived from the serializer or object is always pluralized.
Features: