daily pastebin goal
58%
SHARE
TWEET

Untitled

a guest Jan 14th, 2018 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Add this file to config/initializers in Rails
  2. #
  3. # mongoid 2.x.x
  4. # mongo (1.3.x or 1.4.x)
  5.  
  6. Mongoid.configure do |config|
  7.   Mongoid::Config.from_hash({"uri" => uri})
  8. end
RAW Paste Data
Top