method

cast_value

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: Time
cast_value(value) 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/time.rb, line 25
        def cast_value(value)
          case value = super
          when Value
            value.__getobj__
          else
            value
          end
        end
Register or log in to add new notes.