Top Level Namespace

Defined Under Namespace

Modules: Merb Classes: DatabaseSessions

Instance Method Summary collapse

Instance Method Details

#firebird_db_string(config) ⇒ Object



340
341
342
# File 'lib/active_record/merbtasks.rb', line 340

def firebird_db_string(config)
  FireRuby::Database.db_string_for(config.symbolize_keys)
end

#set_firebird_env(config) ⇒ Object



335
336
337
338
# File 'lib/active_record/merbtasks.rb', line 335

def set_firebird_env(config)
  ENV["ISC_USER"]     = config["username"].to_s if config["username"]
  ENV["ISC_PASSWORD"] = config["password"].to_s if config["password"]
end