# require 'tiny_tds' # require 'activerecord-sqlserver-adapter' # require 'active_record' # # module Connection # def self.new(connection_params) # begin # put_log ("Connecting to database...") # return ActiveRecord::Base.establish_connection(connection_params) # rescue Exception => e # raise e.message # end # end # # end