spec/fixtures/models/owner.rb in datashift-0.10.1 vs spec/fixtures/models/owner.rb in datashift-0.10.2
- old
+ new
@@ -1,5 +1,7 @@
-
-
class Owner < ActiveRecord::Base
- belongs_to :project
+
+ belongs_to :project, :dependent => :destroy
+
+ has_many :digitals, :dependent => :destroy
+
end