You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

connect.rb 208B

1234567891011
  1. require 'dotenv'
  2. Dotenv.load(File.expand_path('../.env'))
  3. DB =
  4. Sequel.connect(
  5. adapter: :postgres,
  6. database: ENV['DB_DATABASE'],
  7. user: ENV['DB_USERNAME'],
  8. password: ENV['DB_PASSWORD']
  9. )