From 38c9048666d9bc7f47c10415b0b2c1add35d1e91 Mon Sep 17 00:00:00 2001 From: Mike Gunderloy Date: Sun, 19 Oct 2008 19:36:32 -0500 Subject: Typo fixes in Getting Started guide. --- .../guides/getting_started_with_rails/getting_started_with_rails.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'railties/doc/guides') 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. -- cgit v1.2.3