aboutsummaryrefslogtreecommitdiffstats
path: root/railties/CHANGELOG
diff options
context:
space:
mode:
authorPrem Sichanugrist <s@sikachu.com>2011-04-10 12:38:59 +0800
committerDavid Heinemeier Hansson <david@loudthinking.com>2011-04-10 16:47:52 +0800
commit22a3416298523d5e8ecb432a263e4bee9441e6c5 (patch)
treeecbe853fa81be36f3452b5b4cb5221086c0fd23b /railties/CHANGELOG
parent74960c3976a69b3c7d9aa6bf28edb42ea82df0ce (diff)
downloadrails-22a3416298523d5e8ecb432a263e4bee9441e6c5.tar.gz
rails-22a3416298523d5e8ecb432a263e4bee9441e6c5.tar.bz2
rails-22a3416298523d5e8ecb432a263e4bee9441e6c5.zip
Add --old-style-hash option to force creating old style hash on Ruby 1.9
That means if you don't like the new syntax, you can pass --old-style-hash to force Rails to generate code with hash rockets.
Diffstat (limited to 'railties/CHANGELOG')
-rw-r--r--railties/CHANGELOG2
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/CHANGELOG b/railties/CHANGELOG
index e81d20c3ac..90faad6131 100644
--- a/railties/CHANGELOG
+++ b/railties/CHANGELOG
@@ -10,6 +10,8 @@
redirect_to users_path, notice: "User has been created"
+ You can also passing `--old-style-hash` to make Rails generate old style hash even you're on Ruby 1.9
+
* Changed scaffold_controller generator to create format block for JSON instead of XML [Prem Sichanugrist]
* Add using Turn with natural language test case names for test_help.rb when running with minitest (Ruby 1.9.2+) [DHH]