mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16: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. |
||
|---|---|---|
| .. | ||
| adapter_for_test.rb | ||
| associations_test.rb | ||
| attribute_test.rb | ||
| attributes_test.rb | ||
| cache_test.rb | ||
| configuration_test.rb | ||
| fieldset_test.rb | ||
| generators_test.rb | ||
| meta_test.rb | ||
| options_test.rb | ||
| serializer_for_test.rb | ||
| urls_test.rb | ||