lib/ensembl/variation/activerecord.rb in ensembl-0.0.9 vs lib/ensembl/variation/activerecord.rb in ensembl-0.0.10

- old
+ new

@@ -3,13 +3,12 @@ module Ensembl module Variation # ConnectionPool implemented from: # http://www.lucasallan.com/2014/05/26/fixing-concurrency-issues-with-active-record-in-a-rack-application.html - class Connection < ActiveRecord::Base + class Connection < ConnectionPooledBase self.extend Ensembl::TableNameOverrides - self.extend Ensembl::ConnectionPool self.abstract_class = true self.establish_connection :variation \ No newline at end of file