test/dummy/app/models/bar.rb in dirty_associations-0.2.1 vs test/dummy/app/models/bar.rb in dirty_associations-0.3.0
- old
+ new
@@ -1,6 +1,7 @@
class Bar < ActiveRecord::Base
include DirtyAssociations
has_many :foos
monitor_association_changes :foos
+ accepts_nested_attributes_for :foos
end