• S
    Revert to 4.1 behavior for casting PG arrays · 4ed60af6
    Sean Griffin 提交于
    The user is able to pass PG string literals in 4.1, and have it
    converted to an array. This is also possible in 4.2, but it would remain
    in string form until saving and reloading, which breaks our
    `attr = save.reload.attr` contract. I think we should deprecate this in
    5.0, and only allow array input from user sources. However, this
    currently constitutes a breaking change to public API that did not go
    through a deprecation cycle.
    4ed60af6
array_test.rb 9.0 KB