Skip to content

Commit

Permalink
fix ambiguous example for new invocation method
Browse files Browse the repository at this point in the history
Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information
romdi authored and josevalim committed Feb 7, 2010
1 parent 345e0b2 commit d6ae930
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions railties/guides/source/3_0_release_notes.textile
Expand Up @@ -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: 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> <shell>
rails console # => ./script/rails console rails console # instead of script/console
rails g scaffold post title:string # => ./script/rails generate scaffold post title:string rails g scaffold post title:string # instead of script/generate scaffold post title:string
</shell> </shell>


Run rails --help for a list of all the options. Run rails --help for a list of all the options.
Expand Down

0 comments on commit d6ae930

Please sign in to comment.