Sha256: 32b3b1790418b3bf816e8d45b3e500eae00438105bb17ee404d5b13a877d01b7

Contents?: true

Size: 361 Bytes

Versions: 3

Compression:

Stored size: 361 Bytes

Contents

begin
  require 'mongoid' unless defined?(::Mongoid)
rescue LoadError
  puts "Mongoid is not installed. Please, do '$gem install mongoid', or add mongoid to your Gemfile"
end

#sets up the mongoid connection
Mongoid.load!("mongoid.yml", :production)	# will need to be able to configure this from the main file

module Serialbox
  module Adapters
    
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
serialbar-0.0.3 lib/serialbar/adapters/mongoid.rb
serialbar-0.0.2 lib/serialbar/adapters/mongoid.rb
serialbar-0.0.1 lib/serialbar/adapters/mongoid.rb