diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-03-26 20:31:32 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-03-26 20:31:32 -0300 |
commit | cbe1bc29722ddeda12d8652c409cea156ddb85a3 (patch) | |
tree | 73f462df9765fb0ab048921af146f10c2bc43eb7 | |
parent | 8a37f3b59cb1399f71f02d9684fd9defcbd97697 (diff) | |
download | rails-cbe1bc29722ddeda12d8652c409cea156ddb85a3.tar.gz rails-cbe1bc29722ddeda12d8652c409cea156ddb85a3.tar.bz2 rails-cbe1bc29722ddeda12d8652c409cea156ddb85a3.zip |
Improve CHANGELOG entry
-rw-r--r-- | activerecord/CHANGELOG.md | 8 |
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. |