frankfurter/config/initializers/sequel.rb

6 lines
140 B
Ruby
Raw Normal View History

2014-03-14 13:08:48 +01:00
require 'pg'
require 'sequel'
Sequel.single_threaded = true
Sequel.connect(ENV['DATABASE_URL'] || "postgres://localhost/fixer_#{App.env}")