diff options
Diffstat (limited to 'guides/code/getting_started/app/models/post.rb')
-rw-r--r-- | guides/code/getting_started/app/models/post.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/guides/code/getting_started/app/models/post.rb b/guides/code/getting_started/app/models/post.rb index 4b809110b6..e77e607f3f 100644 --- a/guides/code/getting_started/app/models/post.rb +++ b/guides/code/getting_started/app/models/post.rb @@ -3,7 +3,6 @@ class Post < ActiveRecord::Base :length => { :minimum => 5 } has_many :comments, :dependent => :destroy - has_many :tags accepts_nested_attributes_for :tags, :allow_destroy => :true, :reject_if => proc { |attrs| attrs.all? { |k, v| v.blank? } } |