diff --git a/CHANGELOG.md b/CHANGELOG.md index 76e0c6846..d152ba466 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ Features: Fixes: Misc: +- [#1840](https://github.com/rails-api/active_model_serializers/pull/1840) Add note about key_transform casing needing to match for multi-word fields. (@NullVoxPopuli) ### [v0.10.2 (2016-07-05)](https://github.com/rails-api/active_model_serializers/compare/v0.10.1...v0.10.2) diff --git a/docs/general/fields.md b/docs/general/fields.md index a1a12be68..96677073d 100644 --- a/docs/general/fields.md +++ b/docs/general/fields.md @@ -29,3 +29,5 @@ render json: @user, fields: { users: [:access_token] } ``` Where `users` is the JSONAPI type. + +Casing for multi-word fields should match the casing specified for `ActiveModelSerializers.config.key_transform`.