• R
    Fix that association's after_touch is not called with counter cache · f5947d37
    Ryuta Kamizono 提交于
    Since #31405, using `#increment!` with touch option instead of `#touch`
    to touch belongs_to association if counter cache is enabled. It caused
    the regression since `#increment!` won't invoke after_touch callbacks
    even if touch option is given.
    To fix the regression, make `#increment!` invokes after_touch callbacks
    if touch option is given.
    
    Fixes #31559.
    Fixes #32408.
    f5947d37
可在Tags中查看这些版本中当前仓库的状态.
CHANGELOG.md 21.1 KB