Skip to content

Commit

Permalink
Fixed incorrect instructions for calling the rails command explicit…
Browse files Browse the repository at this point in the history
…ely in the "Getting Started" guide
  • Loading branch information
karmi committed Dec 28, 2010
1 parent e2c2c29 commit 8031b7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/guides/source/getting_started.textile
Expand Up @@ -300,7 +300,7 @@ To get Rails saying "Hello", you need to create at minimum a controller and a vi
$ rails generate controller home index
</shell>

TIP: If you're on Windows, or your Ruby is set up in some non-standard fashion, you may need to explicitly pass Rails +rails+ commands to Ruby: +ruby \path\to\rails controller home index+.
TIP: If you're on Windows, or your Ruby is set up in some non-standard fashion, you may need to explicitly pass Rails +rails+ commands to Ruby: <tt>ruby \path\to\your\application\script\rails generate controller home index</tt>.

Rails will create several files for you, including +app/views/home/index.html.erb+. This is the template that will be used to display the results of the +index+ action (method) in the +home+ controller. Open this file in your text editor and edit it to contain a single line of code:

Expand Down

0 comments on commit 8031b7e

Please sign in to comment.