mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 07:16:49 +00:00
Allow users to globally opt out of automatic lookup
This commit is contained in:
committed by
Benjamin Fleischer
parent
8aaaa44ba3
commit
170db3ba88
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user