aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gunderloy <MikeG1@larkfarm.com>2008-10-19 19:36:32 -0500
committerMike Gunderloy <MikeG1@larkfarm.com>2008-10-19 19:36:32 -0500
commit38c9048666d9bc7f47c10415b0b2c1add35d1e91 (patch)
treeeb887a6dfeea46a3e7d55d16af5baaad15be4771
parentb99c475b219132758d58d1a0ab531f93ff48ec90 (diff)
downloadrails-38c9048666d9bc7f47c10415b0b2c1add35d1e91.tar.gz
rails-38c9048666d9bc7f47c10415b0b2c1add35d1e91.tar.bz2
rails-38c9048666d9bc7f47c10415b0b2c1add35d1e91.zip
Typo fixes in Getting Started guide.
-rw-r--r--railties/doc/guides/getting_started_with_rails/getting_started_with_rails.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/doc/guides/getting_started_with_rails/getting_started_with_rails.txt b/railties/doc/guides/getting_started_with_rails/getting_started_with_rails.txt
index a58ef01e46..a3493abfe8 100644
--- a/railties/doc/guides/getting_started_with_rails/getting_started_with_rails.txt
+++ b/railties/doc/guides/getting_started_with_rails/getting_started_with_rails.txt
@@ -423,7 +423,7 @@ class Post < ActiveRecord::Base
end
-------------------------------------------------------
-These changes will ensure that all comments have a body and a commenter, and that the commenter is at least five characters long. Rails can validate a variety of conditions in a model, including the presence or uniqueness of columns, their format, and the existence of associated objects.
+These changes will ensure that all posts have a name and a title, and that the title is at least five characters long. Rails can validate a variety of conditions in a model, including the presence or uniqueness of columns, their format, and the existence of associated objects.
=== Using the Console
@@ -450,7 +450,7 @@ title: nil, content: "A new post", created_at: nil, updated_at: nil>,
"is too short (minimum is 5 characters)"]}>
-------------------------------------------------------
-This code shows creating a new +Post+ instance, attempting to save it and getting +false+ for a return value (indicating that the save failed), and inspecting the +errors+ of the comment.
+This code shows creating a new +Post+ instance, attempting to save it and getting +false+ for a return value (indicating that the save failed), and inspecting the +errors+ of the post.
TIP: Unlike the development web server, the console does not automatically load your code afresh for each line. If you make changes, type +reload!+ at the console prompt to load them.