Skip to content

Instantly share code, notes, and snippets.

@erik-megarad
Created December 29, 2009 16:37
Show Gist options
  • Save erik-megarad/265414 to your computer and use it in GitHub Desktop.
Save erik-megarad/265414 to your computer and use it in GitHub Desktop.
# Can I get a "HELL YEAH?"
Mongoid.environments do
environment :development do
adapter :mongo
host :localhost
database :fanboy_dev
end
environment :production do
adapter :mongo
host "db.mongohq.com"
username :user
pass :pass
database :fanboy
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment