Sha256: c49539cf12824485bd5a46ff099ef93eea4d019cec44ede3bd5a030e2da87213
Contents?: true
Size: 567 Bytes
Versions: 5
Compression:
Stored size: 567 Bytes
Contents
require 'sequel' module Doozer module ORM # See for details => http://sequel.rubyforge.org/rdoc/index.html def self.load db_config = Doozer::Configs.db() Doozer::Configs.db_conn = Sequel.connect({ :adapter => db_config["adapter"], :database => db_config["database"], :username => db_config["username"], :password => db_config["password"], :host => db_config["host"] }) printf "ORM: #{Doozer::Configs.orm} initialized...\n" end def self.after_request; end end end
Version data entries
5 entries across 5 versions & 1 rubygems