mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-22 22:06:50 +00:00
Prior to 0.9, @options was used to see the options passed to to_json. For some reason, with 0.9 the options were no longer passed and were entirely inaccessible within a Serializer. This restores the access by placing it in an attribute named serializer_options. |
||
|---|---|---|
| .. | ||
| action_controller | ||
| active_model | ||
| active_model_serializers.rb | ||