module PostgreSQLAdapterExtensions

Private Instance Methods

get_oid_type(oid, fmod, column_name, sql_type = "".freeze) click to toggle source
Calls superclass method
# File lib/monkeys/ar_postgres_evr_t.rb, line 5
def get_oid_type(oid, fmod, column_name, sql_type = "".freeze)
  if type_map.instance_variable_get(:@mapping)["evr_t"].nil?
    type_map.register_type "evr_t", ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::OID::EvrT.new
  end
  super
end