Sha256: 46f2b26e199ff2dd94ea4b4c5aaeb2d16b7bce8905db7b4eceadc53c59631867

Contents?: true

Size: 311 Bytes

Versions: 16

Compression:

Stored size: 311 Bytes

Contents

class ActiveRecord::Base
  class << self
    def oracle_connection(config)
      config[:port] ||= 1521
      config[:url] ||= "jdbc:oracle:thin:@#{config[:host]}:#{config[:port]}:#{config[:database]}"
      config[:driver] ||= "oracle.jdbc.driver.OracleDriver"
      jdbc_connection(config)
    end
  end
end

Version data entries

16 entries across 16 versions & 5 rubygems

Version Path
intentmedia-activerecord-jdbc-adapter-1.1.1.1 lib/arjdbc/oracle/connection_methods.rb
c3-activerecord-jdbc-adapter-1.1.3.1 lib/arjdbc/oracle/connection_methods.rb
c3-activerecord-jdbc-adapter-1.1.3 lib/arjdbc/oracle/connection_methods.rb
jashmenn-activerecord-jdbc-adapter-1.2.0.0 lib/arjdbc/oracle/connection_methods.rb
jashmenn-activerecord-jdbc-adapter-1.2.0 lib/arjdbc/oracle/connection_methods.rb
activerecord-jdbc-adapter-1.1.3 lib/arjdbc/oracle/connection_methods.rb
activerecord-jdbc-adapter-1.1.2 lib/arjdbc/oracle/connection_methods.rb
activerecord-jdbc-adapter-1.1.1 lib/arjdbc/oracle/connection_methods.rb
activerecord-jdbc-adapter-1.1.0 lib/arjdbc/oracle/connection_methods.rb
activerecord-jdbc-adapter-1.0.3-java lib/arjdbc/oracle/connection_methods.rb
activerecord-jdbc-adapter-1.0.2-java lib/arjdbc/oracle/connection_methods.rb
activerecord-jdbc-adapter-1.0.1-java lib/arjdbc/oracle/connection_methods.rb
activerecord-jdbc-adapter-1.0.0-java lib/arjdbc/oracle/connection_methods.rb
activerecord-jdbc-adapter-1.0.0.beta2-java lib/arjdbc/oracle/connection_methods.rb
kb-activerecord-jdbc-adapter-1.0.0.beta1-java lib/arjdbc/oracle/connection_methods.rb
activerecord-jdbc-adapter-1.0.0.beta1-java lib/arjdbc/oracle/connection_methods.rb