mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 07:16:49 +00:00
a little bit more trimming
This commit is contained in:
@@ -25,6 +25,3 @@ class PostSerializer < ActiveModel::Serializer
|
||||
end
|
||||
end
|
||||
```
|
||||
|
||||
Since `user_id` isn't a reserved adapter option, we can process it via a serializer
|
||||
method. The option is passed via the `instance_options` hash.
|
||||
|
||||
Reference in New Issue
Block a user