Sha256: 2cc2f4607c6d950313a35bf8957f77a71a7bc6ed70aa8498e21056310f6d9233
Contents?: true
Size: 490 Bytes
Versions: 1
Compression:
Stored size: 490 Bytes
Contents
# frozen_string_literal: true # :nodoc: # module ActiveRecord # :nodoc: # module ConnectionAdapters # :nodoc: # module PostgreSQL # :nodoc: # module OID # :nodoc: # class TypeMapInitializer # :nodoc: # def register_enum_type(row) register row['oid'], ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Enum.new(name: row['typname']) end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
enum_kit-0.1.0 | lib/enum_kit/active_record_patches/connection_adapters/postgresql/oid/type_map_initializer.rb |