Created
March 15, 2016 02:23
-
-
Save satour/6efaa21800286c0942b0 to your computer and use it in GitHub Desktop.
sequel 経由で Heroku Postgres にログインする
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'sequel' | |
| DB = Sequel.connect(`heroku config:get DATABASE_URL --app appname`.chomp) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment