• S
    Specify type of singular association during serialization · 9504b44c
    Steve Klabnik 提交于
    When serialising a class, specify the type of any singular associations, if
    necessary. Rails already correctly specifies the :type of any enumerable
    association (e.g. a has_many association), but made no attempt to do so for
    non-enumerables (e.g. a has_one association).
    We must specify the :type of any STI association. A has_one
    association to a class which uses single-table inheritance is an example of
    this type of association.
    
    Fixes #7471
    9504b44c
可在Tags中查看这些版本中当前仓库的状态.
CHANGELOG.md 3.5 KB