aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2015-04-28 11:03:18 +0200
committerYves Senn <yves.senn@gmail.com>2015-04-28 11:06:53 +0200
commitcdf3548a452bbe5cddaad0a398d4266b36f9e388 (patch)
tree690f96ea92f7fd0bee4f52341bec3f9c3674b7e6 /activerecord/CHANGELOG.md
parent7edf52062a1f12bbfdf831665e8c36bd24db793d (diff)
parent28375dd621befc495dfc77a6558534951be5ef54 (diff)
downloadrails-cdf3548a452bbe5cddaad0a398d4266b36f9e388.tar.gz
rails-cdf3548a452bbe5cddaad0a398d4266b36f9e388.tar.bz2
rails-cdf3548a452bbe5cddaad0a398d4266b36f9e388.zip
Merge pull request #19718 from eagletmt/find_by-without-arg
Raise ArgumentError when find_by receives no arguments
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 fa2b7f0c0f..53e2c4af79 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,8 @@
+* `find_by` and `find_by!` raise `ArgumentError` when called without
+ arguments.
+
+ *Kohei Suzuki*
+
* Revert behavior of `db:schema:load` back to loading the full
environment. This ensures that initializers are run.