method

quoted_date

rails latest stable - Class: ActiveRecord::ConnectionAdapters::Mysql2Adapter

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.2.9) is shown here.

quoted_date(value)
public

No documentation available.

# File activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb, line 77
      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