From 97a70bb21b6898d6099c786bc65d3ecf16a8f145 Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Tue, 2 Feb 2010 17:00:49 +0100 Subject: centralized database configuration --- application.rb | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'application.rb') diff --git a/application.rb b/application.rb index e340b24..a74038a 100644 --- a/application.rb +++ b/application.rb @@ -1,13 +1,6 @@ require 'rubygems' -gem 'opentox-ruby-api-wrapper', '=1.2.6' +gem 'opentox-ruby-api-wrapper', '= 1.2.7' require 'opentox-ruby-api-wrapper' -require 'do_sqlite3' -require 'dm-core' -require 'dm-serializer' -require 'dm-timestamps' -require 'dm-types' - -DataMapper::setup(:default, "sqlite3://#{Dir.pwd}/dataset.sqlite3") class Dataset include DataMapper::Resource -- cgit v1.2.3