Flowdock
method

fallback_string_to_time

Importance_0
v2.0.0 - Show latest stable - 0 notes - Class: ActiveRecord::ConnectionAdapters::Column
fallback_string_to_time(string) protected

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

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
Register or log in to add new notes.