Sha256: ee0ea486d2b70ecb85032cc50c4c4c9d6336beb9314ce9bf6c38db47bdfaa6b1

Contents?: true

Size: 300 Bytes

Versions: 1

Compression:

Stored size: 300 Bytes

Contents

require 'sequel'
require 'rack/app'
module Rack::App::SeQueL

  require 'rack/app/sequel/ext'
  require 'rack/app/sequel/version'
  require 'rack/app/sequel/migration'

  def open_connection(&block)
    Sequel.connect(ENV.fetch('DATABASE_URL'), &block)
  end

  module_function :open_connection

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rack-app-sequel-0.3.0 lib/rack/app/sequel.rb