aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/command_line.textile
diff options
context:
space:
mode:
authoreparreno <emili@eparreno.com>2010-04-08 16:38:26 +0200
committereparreno <emili@eparreno.com>2010-04-08 16:38:26 +0200
commite39950847c6f4a8e483f3dc44f50b6c0edc7b128 (patch)
tree10b3f8e652d82974791215e6ec20110915bcc534 /railties/guides/source/command_line.textile
parentf23fff6a6e2d4d22dae7e32dd54f6c9359ff3859 (diff)
downloadrails-e39950847c6f4a8e483f3dc44f50b6c0edc7b128.tar.gz
rails-e39950847c6f4a8e483f3dc44f50b6c0edc7b128.tar.bz2
rails-e39950847c6f4a8e483f3dc44f50b6c0edc7b128.zip
CL guide: convert rails server to shell text
Diffstat (limited to 'railties/guides/source/command_line.textile')
-rw-r--r--railties/guides/source/command_line.textile8
1 files changed, 6 insertions, 2 deletions
diff --git a/railties/guides/source/command_line.textile b/railties/guides/source/command_line.textile
index c0182f236b..a8397a5b80 100644
--- a/railties/guides/source/command_line.textile
+++ b/railties/guides/source/command_line.textile
@@ -246,9 +246,13 @@ $ rake db:migrate
INFO: Let's talk about unit tests. Unit tests are code that tests and makes assertions about code. In unit testing, we take a little part of code, say a method of a model, and test its inputs and outputs. Unit tests are your friend. The sooner you make peace with the fact that your quality of life will drastically increase when you unit test your code, the better. Seriously. We'll make one in a moment.
-Let's see the interface Rails created for us. rails server; http://localhost:3000/high_scores
+Let's see the interface Rails created for us.
-We can create new high scores (55,160 on Space Invaders!)
+<shell>
+$ rails server
+</shell>
+
+Go to your browser and open "http://localhost:3000/high_scores":http://localhost:3000/high_scores, now we can create new high scores (55,160 on Space Invaders!)
h4. +rails console+