Sha256: 771899379ac9d24d56404d327c7896649fbf9438bccc090fcdce8f8d7fba669e

Contents?: true

Size: 201 Bytes

Versions: 33

Compression:

Stored size: 201 Bytes

Contents

module Arql
  class Connection
    class << self
      def open(options)
        ActiveRecord::Base.establish_connection(options)
        $C = ActiveRecord::Base.connection
      end
    end
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
arql-0.1.28 lib/arql/connection.rb
arql-0.1.27 lib/arql/connection.rb
arql-0.1.26 lib/arql/connection.rb
arql-0.1.25 lib/arql/connection.rb
arql-0.1.24 lib/arql/connection.rb
arql-0.1.23 lib/arql/connection.rb
arql-0.1.22 lib/arql/connection.rb
arql-0.1.21 lib/arql/connection.rb
arql-0.1.20 lib/arql/connection.rb
arql-0.1.19 lib/arql/connection.rb
arql-0.1.18 lib/arql/connection.rb
arql-0.1.17 lib/arql/connection.rb
arql-0.1.16 lib/arql/connection.rb