Sha256: eddb700680cd68aa6ce13a8b478b8a34a06f47ba2e71a22433a2e7f27154ed12
Contents?: true
Size: 321 Bytes
Versions: 33
Compression:
Stored size: 321 Bytes
Contents
module MongoDoc module Railties module Config extend self def config(app) MongoDoc::Connection.config_path = app.root + 'config/mongodb.yml' MongoDoc::Connection.default_name = "#{app.root.basename}_#{Rails.env}" MongoDoc::Connection.env = Rails.env end end end end
Version data entries
33 entries across 33 versions & 1 rubygems