mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-22 22:06:50 +00:00
In some cases, we want to pass arguments from the controller and we want to serializer a resource according to that. This allows serializers to use the `options` method to retrieve whatever was passed in via arguments. |
||
|---|---|---|
| .. | ||
| action_controller | ||
| active_model | ||
| generators/serializer | ||
| active_model_serializers.rb | ||