mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-24 23:06:50 +00:00
a little bit more trimming
This commit is contained in:
parent
60a207bb0d
commit
48f8a892e6
@ -25,6 +25,3 @@ class PostSerializer < ActiveModel::Serializer
|
|||||||
end
|
end
|
||||||
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.
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user