lib/odbc_adapter/quoting.rb in odbc_adapter-4.2.0 vs lib/odbc_adapter/quoting.rb in odbc_adapter-4.2.1
- old
+ new
@@ -23,13 +23,9 @@
end
"#{quote_char.chr}#{name}#{quote_char.chr}"
end
- def quoted_true
- '1'
- end
-
# Ideally, we'd return an ODBC date or timestamp literal escape
# sequence, but not all ODBC drivers support them.
def quoted_date(value)
if value.acts_like?(:time)
zone_conversion_method = ActiveRecord::Base.default_timezone == :utc ? :getutc : :getlocal