aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2017-01-03 15:52:35 -0500
committerRafael Mendonça França <rafaelmfranca@gmail.com>2017-01-03 15:53:03 -0500
commit4b6709e818177792735e99a70ec03210c0ac38dc (patch)
treec351e5643be6e670d47d4204c47c798aa9bf7d32 /activerecord/CHANGELOG.md
parentbc87cd7f18373c0cde87c088c410fb2bf50969a9 (diff)
downloadrails-4b6709e818177792735e99a70ec03210c0ac38dc.tar.gz
rails-4b6709e818177792735e99a70ec03210c0ac38dc.tar.bz2
rails-4b6709e818177792735e99a70ec03210c0ac38dc.zip
Raise ArgumentError when a instance of ActiveRecord::Base is passed to
find and exists?
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 e614458375..00d1a7a623 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,8 @@
+* Raise `ArgumentError` when passing an `ActiveRecord::Base` instance to `.find`
+ and `.exists?`.
+
+ *Rafael Mendonça França*
+
* Respect precision option for arrays of timestamps.
Fixes #27514.