Sha256: 585ba6ea7e2c87b4318923dcde3e0c0c75bbe3d2fccf87ce25a6fb0821c06519
Contents?: true
Size: 641 Bytes
Versions: 8
Compression:
Stored size: 641 Bytes
Contents
print "Using native Oracle Enhanced\n" require 'active_record' def connection_string "#{SPEC['username']}/#{SPEC['password']}@#{SPEC['host']}" end # Adapter config setup in locals/database_connections.rb SPEC = CompositePrimaryKeys::ConnectionSpec[:oracle] ActiveRecord::Base.establish_connection(SPEC) # Change default options for Oracle Enhanced adapter ActiveRecord::ConnectionAdapters::OracleEnhancedAdapter.emulate_dates_by_column_name = true # Change NLS_DATE_FORMAT to non-default format to verify that all tests should pass ActiveRecord::Base.connection.execute %q{alter session set nls_date_format = 'DD-MON-YYYY HH24:MI:SS'}
Version data entries
8 entries across 8 versions & 1 rubygems