class ActiveRecord::ConnectionAdapters::SQLServer::CoreExt::DateTime

Create our own DateTime class so that we can format strings properly and still have a DateTime class for the jdbc driver to work with

Public Class Methods

_jd_with_sql_type(value, type) click to toggle source
# File lib/active_record/connection_adapters/sqlserver/core_ext/date_time.rb, line 29
def self._jd_with_sql_type(value, type)
  jd(value.jd).tap { |t|  t._sql_type = type }
end