Improved README as suggested in #27.

This commit is contained in:
nathanvda 2011-12-07 23:48:13 +01:00
parent bb97c88994
commit d29dfef1c0
1 changed files with 1 additions and 1 deletions

View File

@ -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