Skip to content

Instantly share code, notes, and snippets.

@satour
Created March 15, 2016 02:23
Show Gist options
  • Save satour/6efaa21800286c0942b0 to your computer and use it in GitHub Desktop.
Save satour/6efaa21800286c0942b0 to your computer and use it in GitHub Desktop.
sequel 経由で Heroku Postgres にログインする
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