diff --git a/lib/seed_dump/dump_methods.rb b/lib/seed_dump/dump_methods.rb index 6c97504..2fbe516 100644 --- a/lib/seed_dump/dump_methods.rb +++ b/lib/seed_dump/dump_methods.rb @@ -39,7 +39,7 @@ def value_to_s(value) when BigDecimal, IPAddr value.to_s when Date, Time, DateTime - value.to_s(:db) + value.to_formatted_s(:db) when Range range_to_string(value) when ->(v) { v.class.ancestors.map(&:to_s).include?('RGeo::Feature::Instance') }