method
fallback_string_to_time
fallback_string_to_time(string)
protected
Hide source
# File activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb, line 198 def fallback_string_to_time(string) time_hash = Date._parse(string) time_hash[:sec_fraction] = microseconds(time_hash) new_time(*time_hash.values_at(:year, :mon, :mday, :hour, :min, :sec, :sec_fraction)) end