Class: Ensembl::Variation::Connection

Inherits:
ActiveRecord::Base
  • Object
show all
Extended by:
TableNameOverrides
Defined in:
lib/ensembl/variation/activerecord.rb

Overview

Class Method Summary collapse

Methods included from TableNameOverrides

table_name

Class Method Details

.connectionObject



20
21
22
23
24
# File 'lib/ensembl/variation/activerecord.rb', line 20

def self.connection
  ActiveRecord::Base.connection_pool.with_connection do |conn|
    conn
  end
end