mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-22 22:06:50 +00:00
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 |
||
|---|---|---|
| .. | ||
| fixtures | ||
| integration | ||
| unit/active_model | ||
| test_app.rb | ||
| test_helper.rb | ||