aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides
diff options
context:
space:
mode:
authorRomD <romd86@gmail.com>2010-02-07 04:56:19 +0100
committerJosé Valim <jose.valim@gmail.com>2010-02-07 13:46:27 +0100
commitd6ae930c9cfacf50d65b2880ac21efe80801a33d (patch)
treead072fc9622b49cea2aaac2813d346d75fd80aad /railties/guides
parent345e0b274cb384f8d453256e90dd105e6c2ffa19 (diff)
downloadrails-d6ae930c9cfacf50d65b2880ac21efe80801a33d.tar.gz
rails-d6ae930c9cfacf50d65b2880ac21efe80801a33d.tar.bz2
rails-d6ae930c9cfacf50d65b2880ac21efe80801a33d.zip
fix ambiguous example for new invocation method
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'railties/guides')
-rw-r--r--railties/guides/source/3_0_release_notes.textile4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/guides/source/3_0_release_notes.textile b/railties/guides/source/3_0_release_notes.textile
index 1624172176..639e775bf5 100644
--- a/railties/guides/source/3_0_release_notes.textile
+++ b/railties/guides/source/3_0_release_notes.textile
@@ -39,8 +39,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 # => ./script/rails console
-rails g scaffold post title:string # => ./script/rails 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 rails --help for a list of all the options.