aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/command_line.textile
diff options
context:
space:
mode:
authorOscar Del Ben <info@oscardelben.com>2012-05-03 13:58:19 +0200
committerOscar Del Ben <info@oscardelben.com>2012-05-03 13:58:53 +0200
commite608588d3a8dce80d62d78d88d6dea4008bf0d37 (patch)
treed01961cdff9e1b15096901e3089a2ce1e5de1c10 /guides/source/command_line.textile
parentc9e809c8e49ed9af43044554ad1698aa07748851 (diff)
downloadrails-e608588d3a8dce80d62d78d88d6dea4008bf0d37.tar.gz
rails-e608588d3a8dce80d62d78d88d6dea4008bf0d37.tar.bz2
rails-e608588d3a8dce80d62d78d88d6dea4008bf0d37.zip
Update command line guide
Diffstat (limited to 'guides/source/command_line.textile')
-rw-r--r--guides/source/command_line.textile6
1 files changed, 2 insertions, 4 deletions
diff --git a/guides/source/command_line.textile b/guides/source/command_line.textile
index 95a01710b5..71386f427a 100644
--- a/guides/source/command_line.textile
+++ b/guides/source/command_line.textile
@@ -12,7 +12,7 @@ endprologue.
NOTE: This tutorial assumes you have basic Rails knowledge from reading the "Getting Started with Rails Guide":getting_started.html.
-WARNING. This Guide is based on Rails 3.0. Some of the code shown here will not work in earlier versions of Rails.
+WARNING. This Guide is based on Rails 3.2. Some of the code shown here will not work in earlier versions of Rails.
h3. Command Line Basics
@@ -31,7 +31,7 @@ h4. +rails new+
The first thing we'll want to do is create a new Rails application by running the +rails new+ command after installing Rails.
-WARNING: You can install the rails gem by typing +gem install rails+, if you don't have it already. Follow the instructions in the "Rails 3 Release Notes":/3_0_release_notes.html
+TIP: You can install the rails gem by typing +gem install rails+, if you don't have it already.
<shell>
$ rails new commandsapp
@@ -185,8 +185,6 @@ $ rails server
=> Booting WEBrick...
</shell>
-WARNING: Make sure that you do not have any "tilde backup" files in +app/views/(controller)+, or else WEBrick will _not_ show the expected output. This seems to be a *bug* in Rails 2.3.0.
-
The URL will be "http://localhost:3000/greetings/hello":http://localhost:3000/greetings/hello.
INFO: With a normal, plain-old Rails application, your URLs will generally follow the pattern of http://(host)/(controller)/(action), and a URL like http://(host)/(controller) will hit the *index* action of that controller.