From d29dfef1c07134ac63f3219c979ffa36671146fa Mon Sep 17 00:00:00 2001 From: nathanvda Date: Wed, 7 Dec 2011 23:48:13 +0100 Subject: [PATCH] Improved README as suggested in #27. --- README.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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