lib/sequel_rails/configuration.rb in sequel-rails-1.0.1 vs lib/sequel_rails/configuration.rb in sequel-rails-1.1.0

- old
+ new

@@ -26,10 +26,11 @@ self.migration_dir = nil self.schema_dump = default_schema_dump self.load_database_tasks = true self.after_connect = nil self.skip_connect = nil + self.test_connect = true end def environment_for(name) environments[name.to_s] || environments[name.to_sym] end @@ -70,9 +71,11 @@ def normalize_repository_config(hash) config = DbConfig.new hash, :root => root config['max_connections'] = max_connections if max_connections config['search_path'] = search_path if search_path + config['servers'] = servers if servers + config['test'] = test_connect url = ENV['DATABASE_URL'] config['url'] ||= url if url # create the url if neccessary