2015/06/25分のコミットです。
CHANGELOGへの追加はありませんでした。
remove nonexistent hook from instrumentation guide [ci skip]
rails guideのActive Support Instrumentation
の修正です。
既に存在しないhookについての説明を削除しています。
Add pending test for the great-grandparent touching bug from #19324
activerecord/test/cases/touch_later_test.rb
の修正です。
複数レコードに対するtouch
処理が一度だけ行われるよう修正した対応(Batch touch parent records)の影響で、曽祖父に対するtouch処理が動かなくなる、というバグが発生してしまい、その再現用のテストを追加しています。(スキップしています)
Comment.belongs_to :message, touch: true Message.belongs_to :project, touch: true Project.belongs_to :account, touch: true Account
↑のようなassociationを作成していた場合に、Comment.create!
をした場合に、Account
に対するtouchが行われなくなってしまっている、との事です。