class ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::OID::Boolean
def type_cast(value)
def type_cast(value) return if value.nil? ConnectionAdapters::Column.value_to_boolean value end
def type_cast(value) return if value.nil? ConnectionAdapters::Column.value_to_boolean value end