Top Level Namespace

Defined Under Namespace

Modules: Ditty, RuboCop

Constant Summary collapse

DB =

Delete DATABASE_URL from the environment, so it isn’t accidently passed to subprocesses. DATABASE_URL may contain passwords.

Sequel.connect(
  ENV['RACK_ENV'] == 'production' ? ENV.delete('DATABASE_URL') : ENV['DATABASE_URL'],
  pool_timeout: pool_timeout
)
CACHE =
Memcached.new(ENV['MEMCACHED_URL'])