a guest Apr 27th, 2016 99 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- def conn
- if ENV["RACK_ENV"] == "production"
- dbname: ENV["POSTGRES_DB"],
- host: ENV["POSTGRES_HOST"],
- password: ENV["POSTGRES_PASS"],
- user: ENV["POSTGRES_USER"]
- PG.connect(dbname: "portfolio")
RAW Paste Data