frankfurter/config/initializers/sequel.rb
2014-03-14 12:15:27 +00:00

6 lines
140 B
Ruby

require 'pg'
require 'sequel'
Sequel.single_threaded = true
Sequel.connect(ENV['DATABASE_URL'] || "postgres://localhost/fixer_#{App.env}")