This method is deprecated or moved on the latest stable version.
The last existing version (v4.1.8) is shown here.
quoted_date(value)
public
Quote date/time values for use in SQL input. Includes microseconds if the
value is a Time responding to usec.
# File activerecord/lib/active_record/connection_adapters/postgresql/quoting.rb, line 175
def quoted_date(value) #:nodoc:
result = super
if value.acts_like?(:time) && value.respond_to?(:usec)
result = "#{result}.#{sprintf("%06d", value.usec)}"
end
if value.year < 0
result = result.sub(/^-/, "") + " BC"
end
result
end