Sha256: 59f8e66ab57e691668de3caee07adfb80810dd48b0f401c146ceba2027eab69a

Contents?: true

Size: 245 Bytes

Versions: 3

Compression:

Stored size: 245 Bytes

Contents

module Departure
  class ConnectionBase < ActiveRecord::Base
    def self.establish_connection(config = nil)
      super.tap do
        ActiveRecord::Base.connection_specification_name = connection_specification_name
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
departure-6.3.0 lib/departure/connection_base.rb
departure-76c9880-6.2.0 lib/departure/connection_base.rb
departure-6.2.0 lib/departure/connection_base.rb