aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2019-02-15 11:34:54 +0900
committerRyuta Kamizono <kamipo@gmail.com>2019-02-15 17:40:15 +0900
commit4c6171d6056a346a953792a954853d14c000dc90 (patch)
tree6828ab3c21482a8a81bc0c9229e2028e9e26bdc0 /activerecord/CHANGELOG.md
parentcdb8697b4a654aad2e65590d58c5f581a53d6b33 (diff)
downloadrails-4c6171d6056a346a953792a954853d14c000dc90.tar.gz
rails-4c6171d6056a346a953792a954853d14c000dc90.tar.bz2
rails-4c6171d6056a346a953792a954853d14c000dc90.zip
Deprecate using class level querying methods if the receiver scope regarded as leaked
This deprecates using class level querying methods if the receiver scope regarded as leaked, since #32380 and #35186 may cause that silently leaking information when people upgrade the app. We need deprecation first before making those.
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 63205368c7..7ff4c743c6 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,8 @@
+* Deprecate using class level querying methods if the receiver scope
+ regarded as leaked. Use `klass.unscoped` to avoid the leaking scope.
+
+ *Ryuta Kamizono*
+
* Allow applications to automatically switch connections.
Adds a middleware and configuration options that can be used in your