frankfurter/config/initializers/sequel.rb

8 lines
177 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2017-06-14 22:16:21 +02:00
2014-03-14 13:08:48 +01:00
require 'pg'
require 'sequel'
Sequel.single_threaded = true
2018-04-16 17:19:15 +02:00
Sequel.connect(ENV['DATABASE_URL'] || "postgres://localhost/frankfurter_#{App.env}")