Method: ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Array#deserialize
- Defined in:
- lib/active_record/connection_adapters/postgresql/oid/array.rb
#deserialize(value) ⇒ Object
23 24 25 26 27 28 29 30 31 32 |
# File 'lib/active_record/connection_adapters/postgresql/oid/array.rb', line 23 def deserialize(value) case value when ::String type_cast_array(@pg_decoder.decode(value), :deserialize) when Data type_cast_array(value.values, :deserialize) else super end end |