aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2015-02-01 08:42:22 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2015-02-01 08:42:22 -0800
commitaa8ade5811db1873a6091f3aa6282e77d22d9d3e (patch)
treeae6272f67eddcc6293579542c6e1e8dc993bd30f /activerecord/CHANGELOG.md
parent82e710f8471622bd3f3d1640e42ad14f9c9309b9 (diff)
parentfdeef19833ce47b03bcb792f1850f6233f050b9f (diff)
downloadrails-aa8ade5811db1873a6091f3aa6282e77d22d9d3e.tar.gz
rails-aa8ade5811db1873a6091f3aa6282e77d22d9d3e.tar.bz2
rails-aa8ade5811db1873a6091f3aa6282e77d22d9d3e.zip
Merge branch 'master' into mdluo-master
* master: Move required error message and changelog to Active Record Use public Module#include, in favor of https://bugs.ruby-lang.org/issues/8846 Use Module#include instead of send :include, since now is a public method [ci skip] :scissors: warning from controller renderer test Conflicts: activerecord/CHANGELOG.md
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 c834f4d5d5..a17148f1f7 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -2,6 +2,11 @@
*Sammy Larbi*
+* Change the default error message from `can't be blank` to `must exist` for
+ the presence validator of the `:required` option on `belongs_to`/`has_one` associations.
+
+ *Henrik Nygren*
+
* Fixed ActiveRecord::Relation#group method when argument is SQL reserved key word:
Example: