aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/type/decimal.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/lib/active_record/type/decimal.rb')
-rw-r--r--activerecord/lib/active_record/type/decimal.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/type/decimal.rb b/activerecord/lib/active_record/type/decimal.rb
index 867b5f75c7..f200a92d10 100644
--- a/activerecord/lib/active_record/type/decimal.rb
+++ b/activerecord/lib/active_record/type/decimal.rb
@@ -8,7 +8,7 @@ module ActiveRecord
end
def type_cast_for_schema(value)
- value.to_s
+ value.to_s.inspect
end
private