diff options
author | Xavier Noria <fxn@hashref.com> | 2010-02-03 21:20:54 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-02-03 21:20:54 +0100 |
commit | 69e693d711b4c002e0f1d94b0b96cceffb5232ac (patch) | |
tree | eddfb132628a6ba2c8d3cb5553ce7263d5eeae7a | |
parent | 69d0e94da5ae5e38f6a00be04fb9234a32e5edaa (diff) | |
download | rails-69e693d711b4c002e0f1d94b0b96cceffb5232ac.tar.gz rails-69e693d711b4c002e0f1d94b0b96cceffb5232ac.tar.bz2 rails-69e693d711b4c002e0f1d94b0b96cceffb5232ac.zip |
reworded section "script/* replaced by script/rails"
-rw-r--r-- | railties/guides/source/3_0_release_notes.textile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/railties/guides/source/3_0_release_notes.textile b/railties/guides/source/3_0_release_notes.textile index 6acd6c1206..15d38b47a0 100644 --- a/railties/guides/source/3_0_release_notes.textile +++ b/railties/guides/source/3_0_release_notes.textile @@ -28,7 +28,13 @@ Each Rails application now must have a corresponding application object. Applica h4. script/* replaced by script/rails -The +rails+ binary has been upgraded in Rails 3.0 It lives as <tt>script/rails</tt> and is a one stop command for all of the commands that used to live in <tt>script/</tt>. You now call <tt>rails <command_name></tt> instead. +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 # new idiom for the now gone script/console +</shell> + +There are also some command shortcuts. h4. Dependencies and config.gem |