Active Record Ruby

ActiveRecord::Base.establish_connection(
:adapter => "sqlite", 
:database => "test")