aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@plataformatec.com.br>2012-10-17 02:47:38 -0700
committerJosé Valim <jose.valim@plataformatec.com.br>2012-10-17 02:47:38 -0700
commitbf876af7b33b8f6a4c91353e2751686f1d0fa934 (patch)
tree48baee2cc9088c4eed11696e9c280718cf175211 /activerecord/CHANGELOG.md
parentc432c74cd34d4230bfda6fa008f2af9dbc33e523 (diff)
parent25262bc280e8c9c0e875315958f82230b67cbf35 (diff)
downloadrails-bf876af7b33b8f6a4c91353e2751686f1d0fa934.tar.gz
rails-bf876af7b33b8f6a4c91353e2751686f1d0fa934.tar.bz2
rails-bf876af7b33b8f6a4c91353e2751686f1d0fa934.zip
Merge pull request #7972 from scottwillson/fix-double-presence-of-errors-2
Fix bug with presence validation of associations.
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 5f5c9e4915..186c7bf244 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,5 +1,10 @@
## Rails 4.0.0 (unreleased) ##
+* Fix bug with presence validation of associations. Would incorrectly add duplicated errors
+ when the association was blank. Bug introduced in 1fab518c6a75dac5773654646eb724a59741bc13.
+
+ *Scott Willson*
+
* Fix bug where sum(expression) returns string '0' for no matching records
Fixes #7439