diff options
author | Xavier Noria <fxn@hashref.com> | 2011-02-25 20:53:55 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2011-02-25 20:53:55 +0100 |
commit | 2e60b00788fb234a3afe96016c639f7f2ced7115 (patch) | |
tree | 8246371cae47329121b8f0d629f5ee7e30b36e4b /railties/guides/source/3_0_release_notes.textile | |
parent | 515ea955b6a80ab9f527ad0f6dcc25a17688a02c (diff) | |
parent | 287bb6990cf0c8a6e4b5ff4c0d75ecfa9bab33fa (diff) | |
download | rails-2e60b00788fb234a3afe96016c639f7f2ced7115.tar.gz rails-2e60b00788fb234a3afe96016c639f7f2ced7115.tar.bz2 rails-2e60b00788fb234a3afe96016c639f7f2ced7115.zip |
Merge branch 'master' of git://github.com/lifo/docrails
Diffstat (limited to 'railties/guides/source/3_0_release_notes.textile')
-rw-r--r-- | railties/guides/source/3_0_release_notes.textile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/railties/guides/source/3_0_release_notes.textile b/railties/guides/source/3_0_release_notes.textile index db5a9ce644..001f458fd9 100644 --- a/railties/guides/source/3_0_release_notes.textile +++ b/railties/guides/source/3_0_release_notes.textile @@ -22,7 +22,7 @@ To install Rails 3: <shell> # Use sudo if your setup requires it -gem install rails +$ gem install rails </shell> @@ -47,8 +47,8 @@ h4. script/* replaced by script/rails The new <tt>script/rails</tt> replaces all the scripts that used to be in the <tt>script</tt> directory. You do not run <tt>script/rails</tt> directly though, the +rails+ command detects it is being invoked in the root of a Rails application and runs the script for you. Intended usage is: <shell> -rails console # instead of script/console -rails g scaffold post title:string # instead of script/generate scaffold post title:string +$ rails console # instead of script/console +$ rails g scaffold post title:string # instead of script/generate scaffold post title:string </shell> Run <tt>rails --help</tt> for a list of all the options. @@ -64,7 +64,7 @@ To help with the upgrade process, a plugin named "Rails Upgrade":http://github.c Simply install the plugin, then run +rake rails:upgrade:check+ to check your app for pieces that need to be updated (with links to information on how to update them). It also offers a task to generate a +Gemfile+ based on your current +config.gem+ calls and a task to generate a new routes file from your current one. To get the plugin, simply run the following: <shell> -ruby script/plugin install git://github.com/rails/rails_upgrade.git +$ ruby script/plugin install git://github.com/rails/rails_upgrade.git </shell> You can see an example of how that works at "Rails Upgrade is now an Official Plugin":http://omgbloglol.com/post/364624593/rails-upgrade-is-now-an-official-plugin |