mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-25 20:42:31 +01:00
a96e56808e
... along with some minor miscellaneous refactoring This finally completes fixerAPI/fixer#22
9 lines
192 B
Ruby
9 lines
192 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'pg'
|
|
require 'sequel'
|
|
|
|
Sequel.single_threaded = true
|
|
Sequel.connect(ENV['DATABASE_URL'] ||
|
|
"postgres://localhost/frankfurter_#{App.env}")
|