diff options
-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 ``` |