Flowdock
method

type_cast_for_schema

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: DateTime
type_cast_for_schema(value) public

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/connection_adapters/postgresql/oid/date_time.rb, line 20
          def type_cast_for_schema(value)
            case value
            when ::Float::INFINITY then "::Float::INFINITY"
            when -::Float::INFINITY then "-::Float::INFINITY"
            else super
            end
          end
Register or log in to add new notes.