lib/granite/form/model/attributes/base.rb in granite-form-0.4.0 vs lib/granite/form/model/attributes/base.rb in granite-form-0.5.0
- old
+ new
@@ -56,10 +56,10 @@
end
def inspect_attribute
value = case read
when Date, Time, DateTime
- %("#{read.to_s(:db)}")
+ %("#{read.to_formatted_s(:db)}")
else
inspection = read.inspect
inspection.size > 100 ? inspection.truncate(50) : inspection
end
"#{name}: #{value}"