Flowdock
method

cast_value

Importance_0
v4.2.7 - Show latest stable - 0 notes - Class: DateTime
cast_value(string) private

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/type/date_time.rb, line 33
      def cast_value(string)
        return string unless string.is_a?(::String)
        return if string.empty?

        fast_string_to_time(string) || fallback_string_to_time(string)
      end
Register or log in to add new notes.