Skip to content

Instantly share code, notes, and snippets.

@smart
Created September 13, 2008 19:30
Embed
What would you like to do?
@@ -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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment