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