method
string_to_date
string_to_date(string)
public
Hide source
# File activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb, line 128 def string_to_date(string) return string unless string.is_a?(String) return nil if string.empty? fast_string_to_date(string) || fallback_string_to_date(string) end