Browse files

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.
  • Loading branch information...
1 parent 69e7e6b commit c6009b2d0d651fe995d29b912c8a1ae9ec98aa6e @blahedo blahedo committed Jul 5, 2013
Showing with 1 addition and 3 deletions.
  1. +1 −3 guides/source/
4 guides/source/
@@ -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:

0 comments on commit c6009b2

Please sign in to comment.