Sha256: 709361b69fb260c022d80bd5e8f6482e30f6bacfc9290f3fc0f02552fad97127

Contents?: true

Size: 324 Bytes

Versions: 59

Compression:

Stored size: 324 Bytes

Contents

# frozen_string_literal: true

# Select ORM between Mongoid and ActiveRecord

require 'rrj/errors/error'

# For mongoid gem
if RubyRabbitmqJanus::Tools::Config.instance.orm.eql?('mongoid')
  Mongoid.load!(File.join(Dir.pwd, 'config', 'mongoid.yml'),
                RubyRabbitmqJanus::Tools::Config.instance.env.to_sym)
end

Version data entries

59 entries across 59 versions & 1 rubygems

Version Path
ruby_rabbitmq_janus-2.7.2.pre.319 lib/rrj/tools/bin/model.rb
ruby_rabbitmq_janus-2.7.2.pre.318 lib/rrj/tools/bin/model.rb
ruby_rabbitmq_janus-2.7.2.pre.317 lib/rrj/tools/bin/model.rb
ruby_rabbitmq_janus-2.7.2.pre.316 lib/rrj/tools/bin/model.rb
ruby_rabbitmq_janus-2.7.2.pre.315 lib/rrj/tools/bin/model.rb
ruby_rabbitmq_janus-2.7.2.pre.314 lib/rrj/tools/bin/model.rb
ruby_rabbitmq_janus-2.7.2.pre.312 lib/rrj/tools/bin/model.rb
ruby_rabbitmq_janus-2.7.2.pre.310 lib/rrj/tools/bin/model.rb
ruby_rabbitmq_janus-2.7.2.pre.309 lib/rrj/tools/bin/model.rb
ruby_rabbitmq_janus-2.7.2.pre.308 lib/rrj/tools/bin/model.rb
ruby_rabbitmq_janus-2.7.2.pre.307 lib/rrj/tools/bin/model.rb
ruby_rabbitmq_janus-2.7.2.pre.306 lib/rrj/tools/bin/model.rb
ruby_rabbitmq_janus-2.7.2.pre.305 lib/rrj/tools/bin/model.rb
ruby_rabbitmq_janus-2.7.2.pre.302 lib/rrj/tools/bin/model.rb
ruby_rabbitmq_janus-2.7.2.pre.297 lib/rrj/tools/bin/model.rb
ruby_rabbitmq_janus-2.7.2.pre.296 lib/rrj/tools/bin/model.rb
ruby_rabbitmq_janus-2.7.2.pre.286 lib/rrj/tools/bin/model.rb
ruby_rabbitmq_janus-2.7.2.pre.285 lib/rrj/tools/bin/model.rb
ruby_rabbitmq_janus-2.7.2.pre.284 lib/rrj/tools/bin/model.rb