Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v3.1.0) is shown here.
These similar methods exist in v7.1.3.2:
quote(value, column = nil)
public
QUOTING ==================================================
Show source
def quote(value, column = nil)
if value.kind_of?(String) && column && column.type == :binary && column.class.respond_to?(:string_to_binary)
s = column.class.string_to_binary(value).unpack("H*")[0]
"x'#{s}'"
elsif value.kind_of?(BigDecimal)
value.to_s("F")
else
super
end
end