aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/getting_started.md
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2013-01-21 23:46:04 -0500
committerSteve Klabnik <steve@steveklabnik.com>2013-01-22 00:09:00 -0500
commit51b9def5bf108fb566e0d2293f49abb5aeb0add7 (patch)
treee766306ed4cc2558ae921f1c62a77956575b1822 /guides/source/getting_started.md
parentaadd16f913da8b93ac1d35bb2c74b18d73b47712 (diff)
downloadrails-51b9def5bf108fb566e0d2293f49abb5aeb0add7.tar.gz
rails-51b9def5bf108fb566e0d2293f49abb5aeb0add7.tar.bz2
rails-51b9def5bf108fb566e0d2293f49abb5aeb0add7.zip
fixing link to validations guide in getting started guide
Diffstat (limited to 'guides/source/getting_started.md')
-rw-r--r--guides/source/getting_started.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/guides/source/getting_started.md b/guides/source/getting_started.md
index dd2fd18e17..c394f30c38 100644
--- a/guides/source/getting_started.md
+++ b/guides/source/getting_started.md
@@ -733,10 +733,11 @@ class Post < ActiveRecord::Base
end
```
-These changes will ensure that all posts have a title that 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. Validations are covered in detail
-in [Active Record Validations and Callbacks](active_record_validations_callbacks.html#validations-overview)
+These changes will ensure that all posts have a title that 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. Validations are covered in detail in [Active
+Record Validations](active_record_validations.html)
With the validation now in place, when you call `@post.save` on an invalid
post, it will return `false`. If you open `app/controllers/posts_controller.rb`