mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-22 22:06:50 +00:00
This is to ensure that PORO's as_json is called if no serializer is specified. Original behaviour was that serializable_hash was being called, overriding the as_json method. |
||
|---|---|---|
| .. | ||
| action_controller | ||
| active_model | ||
| generators | ||
| active_model_serializers.rb | ||