Allow users to globally opt out of automatic lookup

This commit is contained in:
Trek Glowacki
2015-10-23 10:57:37 -05:00
committed by Benjamin Fleischer
parent 8aaaa44ba3
commit 170db3ba88
3 changed files with 6 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ The following configuration options can be set on `ActiveModel::Serializer.confi
## General
- `adapter`: The [adapter](adapters.md) to use. Possible values: `:attributes, :json, :json_api`. Default: `:attributes`.
- `automatic_lookup`: Whether serializer should be automatically looked up or manually provided. Default: `true`
## JSON API