method
quoted_date
quoted_date(value)
public
Hide source
# File activerecord/lib/active_record/connection_adapters/abstract/quoting.rb, line 102 def quoted_date(value) if value.acts_like?(:time) zone_conversion_method = ActiveRecord::Base.default_timezone == :utc ? :getutc : :getlocal if value.respond_to?(zone_conversion_method) value = value.send(zone_conversion_method) end end value.to_s(:db) end