From 7b054226060c4f11a450e8171381c06e912f532e Mon Sep 17 00:00:00 2001 From: Guillermo Iguaran Date: Thu, 12 Jan 2012 22:42:55 -0500 Subject: Update Railties section of 3.2 release notes --- railties/guides/source/3_2_release_notes.textile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'railties/guides/source/3_2_release_notes.textile') diff --git a/railties/guides/source/3_2_release_notes.textile b/railties/guides/source/3_2_release_notes.textile index b26ba2f3a6..aba24bac9f 100644 --- a/railties/guides/source/3_2_release_notes.textile +++ b/railties/guides/source/3_2_release_notes.textile @@ -114,7 +114,7 @@ config.railties_order = [Blog::Engine, :main_app, :all] * Update Rails::Rack::Logger middleware to apply any tags set in config.log_tags to ActiveSupport::TaggedLogging. This makes it easy to tag log lines with debug information like subdomain and request id -- both very helpful in debugging multi-user production applications. -* Default options to +rails new+ can be set in ~/.railsrc. +* Default options to +rails new+ can be set in ~/.railsrc. You can specify extra command-line arguments to be used every time 'rails new' runs in the .railsrc configuration file in your home directory. * Add an alias +d+ for +destroy+. This works for engines too. @@ -128,6 +128,8 @@ rails g scaffold Post title:string:index author:uniq price:decimal{7,2} will create indexes for +title+ and +author+ with the latter being an unique index. Some types such as decimal accept custom options. In the example, +price+ will be a decimal column with precision and scale set to 7 and 2 respectively. +* Turn gem has been removed from default Gemfile. + * Remove old plugin generator +rails generate plugin+ in favor of +rails plugin new+ command. * Remove old config.paths.app.controller API in favor of config.paths["app/controller"]. -- cgit v1.2.3