Merge pull request #1353 from bf4/disable_serializer_lookup

Allow users to globally opt out of automatic serializer lookup
This commit is contained in:
Benjamin Fleischer
2015-12-20 20:04:16 -06:00
7 changed files with 59 additions and 9 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`.
- `serializer_lookup_enabled`: When `false`, serializers must be explicitly specified. Default: `true`
## JSON API