xls_porter 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/xls_porter.rb +1 -1
- metadata +1 -1
data/lib/xls_porter.rb
CHANGED
@@ -66,7 +66,7 @@ module XlsPorter
|
|
66
66
|
elsif record[column].blank? and value.blank?
|
67
67
|
#skip if both are either nil or empty
|
68
68
|
elsif [DateTime, Time, Date].include?(value.class)
|
69
|
-
record[column] = value if
|
69
|
+
record[column] = value if record[column].to_f != value.to_f
|
70
70
|
else
|
71
71
|
if record[column] != value
|
72
72
|
record[column] = value
|