edge badge
Methods
C
Instance Public methods
cast_value(value)
# File activerecord/lib/active_record/connection_adapters/mysql_adapter.rb, line 267
def cast_value(value)
  if Mysql::Time === value
    new_time(
      value.year,
      value.month,
      value.day,
      value.hour,
      value.minute,
      value.second,
      value.second_part)
  else
    super
  end
end