aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-07-05 19:46:49 -0700
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-07-05 19:46:49 -0700
commit01d4941d0c87764742562c59d4bf7bb34ac108c4 (patch)
treef855df42ed84accf4c5883789c94294ddc8150c7 /guides/source
parent69e7e6ba89cb1f6aef60d5a446a68785a867c9dd (diff)
parentc6009b2d0d651fe995d29b912c8a1ae9ec98aa6e (diff)
downloadrails-01d4941d0c87764742562c59d4bf7bb34ac108c4.tar.gz
rails-01d4941d0c87764742562c59d4bf7bb34ac108c4.tar.bz2
rails-01d4941d0c87764742562c59d4bf7bb34ac108c4.zip
Merge pull request #11322 from blahedo/master
Tidying "getting started" guide
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/getting_started.md4
1 files changed, 1 insertions, 3 deletions
diff --git a/guides/source/getting_started.md b/guides/source/getting_started.md
index c785fd1f8c..06a81366e3 100644
--- a/guides/source/getting_started.md
+++ b/guides/source/getting_started.md
@@ -723,7 +723,7 @@ TIP: In development mode (which is what you're working in by default), Rails
reloads your application with every browser request, so there's no need to stop
and restart the web server when a change is made.
-### Allowing the update of fields
+### Adding Some Validation
The model file, `app/models/post.rb` is about as simple as it can get:
@@ -738,8 +738,6 @@ your Rails models for free, including basic database CRUD (Create, Read, Update,
Destroy) operations, data validation, as well as sophisticated search support
and the ability to relate multiple models to one another.
-### Adding Some Validation
-
Rails includes methods to help you validate the data that you send to models.
Open the `app/models/post.rb` file and edit it: