# File 'lib/travis/database.rb', line 7
def connect
ActiveRecord::Base.default_timezone = :utc
ActiveRecord::Base.logger = Travis.logger
ActiveRecord::Base.configurations = { env => Travis.config.database }
ActiveRecord::Base.establish_connection(env)
end
|