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.2.14 lib/arql/connection.rb
arql-0.2.13 lib/arql/connection.rb
arql-0.2.12 lib/arql/connection.rb
arql-0.2.11 lib/arql/connection.rb
arql-0.2.10 lib/arql/connection.rb
arql-0.2.9 lib/arql/connection.rb
arql-0.2.8 lib/arql/connection.rb
arql-0.2.7 lib/arql/connection.rb
arql-0.2.6 lib/arql/connection.rb
arql-0.2.5 lib/arql/connection.rb
arql-0.2.4 lib/arql/connection.rb
arql-0.2.3 lib/arql/connection.rb
arql-0.2.2 lib/arql/connection.rb
arql-0.2.1 lib/arql/connection.rb
arql-0.2.0 lib/arql/connection.rb
arql-0.1.33 lib/arql/connection.rb
arql-0.1.32 lib/arql/connection.rb
arql-0.1.31 lib/arql/connection.rb
arql-0.1.30 lib/arql/connection.rb
arql-0.1.29 lib/arql/connection.rb