lib/table_sync/receiving/model/sequel.rb in table_sync-6.0.4 vs lib/table_sync/receiving/model/sequel.rb in table_sync-6.1.0

- old
+ new

@@ -75,9 +75,9 @@ def type_cast(data) data.map { |d| raw_model.new(d).values.keep_if { |k| d.key?(k) } } end def update_spec(keys) - keys.map { |key| [key, ::Sequel[:excluded][key]] }.to_h + keys.to_h { |key| [key, ::Sequel[:excluded][key]] } end end end