rails-api/active_model_serializers — pull request #512 by TimPetricola (2014-02-14 17:48:45+00:00)
Title: Custom options are accessible in serializer

Possible to access `@options` in a `Serializer` as it was in `0.8`.

By doing so, you can use the `options` to filter attributes:
```
def filter(keys)
keys.delete(:foo) if @options[:bar]
keys
end
```