From 69e693d711b4c002e0f1d94b0b96cceffb5232ac Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Wed, 3 Feb 2010 21:20:54 +0100 Subject: reworded section "script/* replaced by script/rails" --- railties/guides/source/3_0_release_notes.textile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'railties/guides/source') 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 script/rails and is a one stop command for all of the commands that used to live in script/. You now call rails instead. +The new script/rails replaces all the scripts that used to be in the script directory. You do not run script/rails 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: + + +rails console # new idiom for the now gone script/console + + +There are also some command shortcuts. h4. Dependencies and config.gem -- cgit v1.2.3