Sha256: c718e04e4e06e416c4880eff207040bf2d72d0f31534d5c4d63db6184cc88e32

Contents?: true

Size: 486 Bytes

Versions: 1

Compression:

Stored size: 486 Bytes

Contents

require 'active_replicas/version'
require 'active_replicas/log_subscriber'
require 'active_replicas/proxying_connection'
require 'active_replicas/proxying_connection_pool'

if defined? ActiveRecord
  version = ActiveRecord::VERSION::MAJOR

  if version == 4
    require 'active_replicas/rails4/helpers'
    require 'active_replicas/rails4/connection_handler'
  else
    raise "Unsupported ActiveRecord version: #{version}"
  end
end

require 'active_replicas/railtie' if defined? Rails

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
active_replicas-0.4.0 lib/active_replicas.rb