Browse files

Reword Post model to note there are lines not shown

  • Loading branch information...
1 parent 45f0fea commit f9793a121e5653655a14ba9cf60dce480e42dbce @jasonnoble jasonnoble committed Nov 24, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 guides/source/getting_started.md
View
3 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
```

0 comments on commit f9793a1

Please sign in to comment.