Permalink
Browse files

Merge branch 'master' of github.com:lifo/docrails

  • Loading branch information...
twinturbo
twinturbo committed Apr 29, 2012
2 parents 110f3f4 + 74f328f commit 331007ff304df8f59830c7d4b0a001132fbdacb0
Showing with 1 addition and 0 deletions.
  1. +1 −0 guides/source/getting_started.textile
@@ -2127,6 +2127,7 @@ class Post < ActiveRecord::Base
has_many :comments, :dependent => :destroy
has_many :tags
+ attr_protected :tags
accepts_nested_attributes_for :tags, :allow_destroy => :true,
:reject_if => proc { |attrs| attrs.all? { |k, v| v.blank? } }

0 comments on commit 331007f

Please sign in to comment.