The following example shows how to open an Active Record database connection for Sybase: ActiveRecord::Base.establish_connection( :adapter => "sybase", :database => "test", :host => "www.yourdbserver.com", :usrname => "kevin", :password => "test")