Method: ActiveRecord::ConnectionAdapters::MysqlAdapter::Column.string_to_dummy_time
- Defined in:
- lib/active_record/connection_adapters/mysql_adapter.rb
.string_to_dummy_time(v) ⇒ Object
77 78 79 80 |
# File 'lib/active_record/connection_adapters/mysql_adapter.rb', line 77 def self.string_to_dummy_time(v) return super unless Mysql::Time === v new_time(2000, 01, 01, v.hour, v.minute, v.second, v.second_part) end |