aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorblahedo <github@blahedo.org>2013-07-05 22:31:22 -0400
committerblahedo <github@blahedo.org>2013-07-05 22:31:22 -0400
commitc6009b2d0d651fe995d29b912c8a1ae9ec98aa6e (patch)
treef855df42ed84accf4c5883789c94294ddc8150c7
parent69e7e6ba89cb1f6aef60d5a446a68785a867c9dd (diff)
downloadrails-c6009b2d0d651fe995d29b912c8a1ae9ec98aa6e.tar.gz
rails-c6009b2d0d651fe995d29b912c8a1ae9ec98aa6e.tar.bz2
rails-c6009b2d0d651fe995d29b912c8a1ae9ec98aa6e.zip
Merged sections to reflect current contents of guide.
Section "allowing the update of fields" was now just a general introduction to the idea of the model (actual updating was two sections later). So, merged into the section about validation.
-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: