From f9793a121e5653655a14ba9cf60dce480e42dbce Mon Sep 17 00:00:00 2001 From: Jason Noble Date: Sat, 24 Nov 2012 22:57:21 -0700 Subject: [PATCH] Reword Post model to note there are lines not shown --- guides/source/getting_started.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ``` -- GitLab