diff --git a/README.markdown b/README.markdown index 7ed0cda..db1ccfa 100644 --- a/README.markdown +++ b/README.markdown @@ -77,7 +77,7 @@ Edit the models to code the relation: ````ruby class Project < ActiveRecord::Base has_many :tasks - accepts_nested_attributes_for :tasks + accepts_nested_attributes_for :tasks, :reject_if => :all_blank, :allow_destroy => true end class Task < ActiveRecord::Base