module ActiveRecord::ConnectionAdapters::PostgreSQL::OID::TypeMapInitializer::CubeRegistration

Public Instance Methods

run(records) click to toggle source
Calls superclass method
# File lib/activerecord-postgresql-cube/type.rb, line 38
def run(records)
  if cube = records.find { |r| r["typname"] == "cube" }
    register cube["oid"], OID::Cube.new
  end
  super
end