lib/replication/modules/semi_conservative.rb in replication-0.3.2 vs lib/replication/modules/semi_conservative.rb in replication-0.4.0

- old
+ new

@@ -7,18 +7,20 @@ def unwound(**options) strand_class.new({ name: options[:name], pairs: strand_attributes, - origin: self + origin_id: self.id, + origin_type: self.class.to_s }) end def replicate(**options) strand_class.to_adapter.create!({ name: options[:name], pairs: strand_attributes, - origin: self + origin_id: self.id, + origin_type: self.class.to_s }) end def strand_attributes @strand_attributes = _strand_attributes