Methods

Included Modules

Instance Public methods

serialize(value)

📝 Source code
# File activerecord/lib/active_record/type/time.rb, line 11
      def serialize(value)
        case value = super
        when ::Time
          Value.new(value)
        else
          value
        end
      end
🔎 See on GitHub