Sha256: 3f90e094afdd549bb78925bc66910e87819a757ff1104a9eeef08c1faea13f85

Contents?: true

Size: 273 Bytes

Versions: 9

Compression:

Stored size: 273 Bytes

Contents

require "em-synchrony/mongo"

# disable mongoid connection initializer
if defined? Rails
  module Rails
    module Mongoid
      class Railtie < Rails::Railtie
        initializers.delete_if { |i| i.name == 'verify that mongoid is configured' }
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
em-synchrony-1.0.6 lib/em-synchrony/mongoid.rb
em-synchrony-1.0.5 lib/em-synchrony/mongoid.rb
em-synchrony-1.0.4 lib/em-synchrony/mongoid.rb
em-synchrony-1.0.3 lib/em-synchrony/mongoid.rb
em-synchrony-1.0.2 lib/em-synchrony/mongoid.rb
em-synchrony-1.0.1 lib/em-synchrony/mongoid.rb
em-synchrony-1.0.0 lib/em-synchrony/mongoid.rb
em-synchrony-0.3.0.beta.1 lib/em-synchrony/mongoid.rb
em-synchrony-0.2.0 lib/em-synchrony/mongoid.rb