smartocci (owner)

Revisions

gist: 10643 Download_button fork
public
Public Clone URL: git://gist.github.com/10643.git
Embed All Files: show embed
Text #
1
2
3
4
5
6
7
8
9
10
@@ -219,7 +219,7 @@ module ActiveRecord
           s = column.class.string_to_binary(value).unpack("H*")[0]
           "x'#{s}'"
         elsif value.kind_of?(BigDecimal)
- "'#{value.to_s("F")}'"
+ "#{value.to_s("F")}"
         else
           super
         end