lib/db/sync/model.rb in db-sync-0.0.13 vs lib/db/sync/model.rb in db-sync-0.0.14
- old
+ new
@@ -1,7 +1,9 @@
class Db::Sync::Model < ActiveRecord::Base
@abstract_class = true
+ self.inheritance_column = nil
+
def unique_data
attributes.slice(*self.class.pkey)
end
def compare_unique_data(other)