mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16:50 +00:00
By default, the serialization scope uses current_user, and you can now reference the scope as "current_user" in the serializer. If you override the scope using "serialization_scope" in your controller, it will use that method name instead. |
||
|---|---|---|
| .. | ||
| array_serializer_test.rb | ||
| association_test.rb | ||
| caching_test.rb | ||
| generators_test.rb | ||
| no_serialization_scope_test.rb | ||
| responder_test.rb | ||
| serialization_scope_name_test.rb | ||
| serialization_test.rb | ||
| serializer_support_test.rb | ||
| serializer_test.rb | ||
| test_fakes.rb | ||
| test_helper.rb | ||