lib/arql/connection.rb in arql-0.1.15 vs lib/arql/connection.rb in arql-0.1.16
- old
+ new
@@ -1,9 +1,10 @@
module Arql
class Connection
class << self
def open(options)
ActiveRecord::Base.establish_connection(options)
+ $C = ActiveRecord::Base.connection
end
end
end
end