Flowdock
method

fallback_string_to_date

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: Date
fallback_string_to_date(string) private

No documentation

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

Hide source
# File activemodel/lib/active_model/type/date.rb, line 57
        def fallback_string_to_date(string)
          parts = begin
            ::Date._parse(string, false)
          rescue ArgumentError
          end

          new_date(*parts.values_at(:year, :mon, :mday)) if parts
        end
Register or log in to add new notes.