Last Modified
  2013-07-14 18:25:10 +0000
Requires
  - bio/io/biosql/biosql

## Description

module Bio

    class SQL
     #no check is made
    def self.establish_connection(configurations, env)
     #configurations is an hash similar what YAML returns.
    #{:database=>"biorails_development", :adapter=>"postgresql", :username=>"rails", :password=>nil}
    configurations.assert_valid_keys('development', 'production','test')
    configurations[env].assert_valid_keys('hostname','database','adapter','username','password')
    DummyBase.configurations = configurations
    DummyBase.establish_connection "#{env}"

end