diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2015-02-01 08:42:22 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2015-02-01 08:42:22 -0800 |
commit | aa8ade5811db1873a6091f3aa6282e77d22d9d3e (patch) | |
tree | ae6272f67eddcc6293579542c6e1e8dc993bd30f /activerecord/CHANGELOG.md | |
parent | 82e710f8471622bd3f3d1640e42ad14f9c9309b9 (diff) | |
parent | fdeef19833ce47b03bcb792f1850f6233f050b9f (diff) | |
download | rails-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.md | 5 |
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: |