Sha256: 84c85e3c8ed0fad51bbfbaa3841b17ba47554fc453028e31d69847cd1b918916
Contents?: true
Size: 368 Bytes
Versions: 26
Compression:
Stored size: 368 Bytes
Contents
module ActiveRecord module ConnectionAdapters module PostgreSQL module OID # :nodoc: class Bytea < Type::Binary # :nodoc: def deserialize(value) return if value.nil? return value.to_s if value.is_a?(Type::Binary::Data) PGconn.unescape_bytea(super) end end end end end end
Version data entries
26 entries across 26 versions & 4 rubygems