• A
    Rename association option :class to :anonymous_class · ac2b7a5c
    Andrew White 提交于
    In 1f006c an option was added called :class to allow passing anonymous
    classes to association definitions. Since using :class instead of
    :class_name is a fairly common typo even amongst experienced developers
    this can result in hard to debug errors arising in raise_on_type_mismatch?
    
    To fix this we're renaming the option from :class to :anonymous_class as
    that is a more correct description of what the option is for. Since this
    was an internal, undocumented option there is no need for a deprecation.
    
    Fixes #19659
    ac2b7a5c
可在Tags中查看这些版本中当前仓库的状态.
CHANGELOG.md 21.1 KB