active_model_serializers/lib/action_controller
Andrey Chernih 90343cea4d Make sure render json: ..., each_serializer: ... is working with Enumerables
If you try to render Enumerable with custom `each_serializer` then it will render with default serializer instead:

```ruby
render json: sequel_scope, each_serializer: CustomSerializer
```

This commit fixes this behaviour. Most likely fixes https://github.com/rails-api/active_model_serializers/issues/664 as well
2014-09-25 16:59:47 +04:00
..
serialization_test_case.rb Avoid overwriting notifications for template assertions. 2014-08-29 08:18:44 -05:00
serialization.rb Make sure render json: ..., each_serializer: ... is working with Enumerables 2014-09-25 16:59:47 +04:00