public
Description: Gift Tracking Website using Sinatra, Sequel, and Scaffolding Extensions
Homepage:
Clone URL: git://github.com/jeremyevans/giftsmas.git
giftsmas / config.rb.example
100644 8 lines (7 sloc) 0.209 kb
1
2
3
4
5
6
7
8
Sinatra::Base.set(:environment=>:production, :logging=>true) if defined?(Sinatra)
DB = Sequel.connect(case(GIFTSMAS_ENV)
when :production
  'postgres:///giftsmas'
when :test
  'postgres:///giftsmas_test'
end)