Flowdock
method

type_cast_from_database

Importance_0
v4.2.7 - Show latest stable - 0 notes - Class: Bytea
type_cast_from_database(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/bytea.rb, line 6
          def type_cast_from_database(value)
            return if value.nil?
            return value.to_s if value.is_a?(Type::Binary::Data)
            PGconn.unescape_bytea(super)
          end
Register or log in to add new notes.