aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-03-26 20:31:32 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-03-26 20:31:32 -0300
commitcbe1bc29722ddeda12d8652c409cea156ddb85a3 (patch)
tree73f462df9765fb0ab048921af146f10c2bc43eb7 /activerecord
parent8a37f3b59cb1399f71f02d9684fd9defcbd97697 (diff)
downloadrails-cbe1bc29722ddeda12d8652c409cea156ddb85a3.tar.gz
rails-cbe1bc29722ddeda12d8652c409cea156ddb85a3.tar.bz2
rails-cbe1bc29722ddeda12d8652c409cea156ddb85a3.zip
Improve CHANGELOG entry
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/CHANGELOG.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index ccd07ce248..42b7618fa7 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,8 +1,10 @@
-* Create indexes inline in CREATE TABLE for MySQL
+* Create indexes inline in CREATE TABLE for MySQL.
This is important, because adding an index on a temporary table after it has been created
would commit the transaction.
- It also allows creating and dropping indexed tables with fewer queries and fewer permissions required.
+
+ It also allows creating and dropping indexed tables with fewer queries and fewer permissions
+ required.
Example:
@@ -11,7 +13,7 @@
end
# => CREATE TEMPORARY TABLE temp (INDEX (zip)) AS SELECT id, name, zip FROM a_really_complicated_query
- *Cody Cutrer*, *Steve Rice*
+ *Cody Cutrer*, *Steve Rice*, *Rafael Mendonça Franca*
* Save `has_one` association even if the record doesn't changed.