class ActiveRecord::ConnectionAdapters::MysqlAdapter::Fields::Date
Public Instance Methods
type()
click to toggle source
# File lib/active_record/connection_adapters/mysql_adapter.rb, line 322 def type; :date; end
type_cast(value)
click to toggle source
# File lib/active_record/connection_adapters/mysql_adapter.rb, line 324 def type_cast(value) return if value.nil? # FIXME: probably we can improve this since we know it is mysql # specific ConnectionAdapters::Column.value_to_date value end