Sha256: 3c3db8fcda60e53a0c147f3a9ceb08be61b980d36eeeed19abbda3e509e6889d

Contents?: true

Size: 302 Bytes

Versions: 4

Compression:

Stored size: 302 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

  class OriginalAdapterConnection < ConnectionBase; end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
departure-6.7.0 lib/departure/connection_base.rb
departure-6.6.0 lib/departure/connection_base.rb
departure-6.5.0 lib/departure/connection_base.rb
departure-6.4.0 lib/departure/connection_base.rb