a little bit more trimming

This commit is contained in:
Taylor Jones 2016-03-04 11:14:43 -05:00
parent 60a207bb0d
commit 48f8a892e6

View File

@ -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.