Sha256: b5ad5366b1a8284dba3882c65b7b96e3dbbe13c2ba1f8753299fcf62701a4c78
Contents?: true
Size: 490 Bytes
Versions: 8
Compression:
Stored size: 490 Bytes
Contents
require 'active_support/core_ext/hash/except' require 'sequel/extensions/migration' require 'sequel-rails/configuration' require 'sequel-rails/runtime' require 'sequel-rails/railties/benchmarking_mixin' module Rails module Sequel def self.setup(environment) puts "[sequel] Setting up the #{environment.inspect} environment:" ::Sequel.connect({:logger => configuration.logger}.merge(::Rails::Sequel.configuration.environment_for(environment.to_s))) end end end
Version data entries
8 entries across 8 versions & 2 rubygems