• Y
    `ActiveRecord::Base.include_root_in_json` is `false` by default. · 8c7d4018
    Yves Senn 提交于
    Closes #9459.
    
    The PR #6597 unified the configuration for `include_root_in_json`
    in AM and AR to `false`.
    Later on with the refactoring commit: e030f26a the value in AR was
    set to `true` but I think this was not on purpose.
    
    With this commit both AM and AR will have the same configuration
    for `include_root_in_json`, which is `false`.
    8c7d4018
serialization_test.rb 2.4 KB