instance method
quoted_date
Ruby on Rails 4.2.11.3
Since v4.2.11.3 Last seen in v4.2.11.3Signature
quoted_date(value)
No documentation comment.
Parameters
-
valuereq
Source
# File activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb, line 285
def quoted_date(value)
if supports_datetime_with_precision? && value.acts_like?(:time) && value.respond_to?(:usec)
"#{super}.#{sprintf("%06d", value.usec)}"
else
super
end
end
Defined in activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb line 285
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter