aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorBogdan Gusiev <agresso@gmail.com>2012-11-10 15:30:20 +0200
committerBogdan Gusiev <agresso@gmail.com>2012-11-10 15:30:20 +0200
commit3cb0f3feed7130225cc169c2b1476acf0b11e066 (patch)
treed6a2504deb525cf8f4cac8deca8cfa801b58e849 /activerecord/CHANGELOG.md
parenta002442fbce098ce5ae9597784ab2755bdad111a (diff)
downloadrails-3cb0f3feed7130225cc169c2b1476acf0b11e066.tar.gz
rails-3cb0f3feed7130225cc169c2b1476acf0b11e066.tar.bz2
rails-3cb0f3feed7130225cc169c2b1476acf0b11e066.zip
Do not create useless database transaction when building `has_one` association.
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 11559e3cb3..dee398177c 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,5 +1,14 @@
## Rails 4.0.0 (unreleased) ##
+* Do not create useless database transaction when building `has_one` association.
+
+ Example:
+
+ User.has_one :profile
+ User.new.build_profile
+
+ *Bogdan Gusiev*
+
* :counter_cache option for `has_many` associations to support custom named counter caches.
Fix #7993