lib/no_brainer/connection.rb
# A connection is bound to a specific database.
A connection is bound to a specific database.
A connection is bound to a specific database .
def apply_connection_settings!(uri)
    self.host = uri.host
    self.port = uri.port || 28015
    self.database_name = uri.path.gsub(/^\//, '')
    self.auth_key = uri.password
  end
def apply_connection_settings! ( uri ) self . host = uri . host self . port = uri . port || 28015 self . database_name = uri . path . gsub ( / ^ \/ / , '' ) self . auth_key = uri . password end
A connection is bound to a specific database.
A connection is bound to a specific database .
uri
<not_specific>