diff options
author | Jason Noble <github+jasonn@jasonnoble.org> | 2012-11-24 22:57:21 -0700 |
---|---|---|
committer | Jason Noble <github+jasonn@jasonnoble.org> | 2012-11-24 22:57:21 -0700 |
commit | f9793a121e5653655a14ba9cf60dce480e42dbce (patch) | |
tree | c1dcae5ef65773e71911e61bccee65134ad4e8fb /guides/source | |
parent | 45f0fead7a5ea9ab0eaab41bf08d47ec1e309bcc (diff) | |
download | rails-f9793a121e5653655a14ba9cf60dce480e42dbce.tar.gz rails-f9793a121e5653655a14ba9cf60dce480e42dbce.tar.bz2 rails-f9793a121e5653655a14ba9cf60dce480e42dbce.zip |
Reword Post model to note there are lines not shown
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/getting_started.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/guides/source/getting_started.md b/guides/source/getting_started.md index 18cf6873ee..4273f2d95c 100644 --- a/guides/source/getting_started.md +++ b/guides/source/getting_started.md @@ -1654,9 +1654,10 @@ model, `app/models/post.rb`, as follows: ```ruby class Post < ActiveRecord::Base + has_many :comments, dependent: :destroy validates :title, presence: true, length: { minimum: 5 } - has_many :comments, dependent: :destroy + [...] end ``` |