Guest User

Untitled

a guest
Jan 14th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  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
Add Comment
Please, Sign In to add comment