diff options
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 283ca33913..3c44660b3a 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,3 +1,14 @@ +* Changed scoped blocks to be executed with `instance_eval` + + Named scopes (i.e. using STI) were previously cached according to + base class so scoped queries made by classes with a common ancestor would + leak. Changed the way scope blocks were called so inheritance rules are + followed during the call and scopes are cached correctly. + + Fixes #13466. + + *Jefferson Lai* + * Change belongs_to touch to be consistent with timestamp updates If a model is set up with a belongs_to: touch relatinoship the parent |