lib/sequel/plugins/bitemporal.rb in sequel_bitemporal-0.6.6 vs lib/sequel/plugins/bitemporal.rb in sequel_bitemporal-0.6.7
- old
+ new
@@ -386,10 +386,10 @@
)
when :valid_to
new_value || new_value!=current_version.valid_to
else
if model.version_uses_string_nilifier
- new_value = nil if current_version.nil_string? new_value
+ new_value = nil if current_version.nil_string? key, new_value
end
current_version.send(key)!=new_value
end
end
end