Skip to content

Commit

Permalink
Reword Post model to note there are lines not shown
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonnoble committed Nov 25, 2012
1 parent 45f0fea commit f9793a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion guides/source/getting_started.md
Expand Up @@ -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
```

Expand Down

0 comments on commit f9793a1

Please sign in to comment.