Sha256: eb7b9e775493801f2e6cb0dbc6ebab9c4055f54617b8c6c2de743d87ffa1eaa1

Contents?: true

Size: 371 Bytes

Versions: 13

Compression:

Stored size: 371 Bytes

Contents

print "Using native SQL Server\n"

require File.join(PROJECT_ROOT, 'lib', 'composite_primary_keys')

def connection_string
  "-S #{SPEC['host']} -U #{SPEC['username']} -P\"#{SPEC['password']}\""
end

# Adapter config setup in locals/database_connections.rb
SPEC = CompositePrimaryKeys::ConnectionSpec['sqlserver']
ActiveRecord::Base.establish_connection(SPEC)

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
composite_primary_keys-8.1.8 test/connections/native_sqlserver/connection.rb
composite_primary_keys-8.1.7 test/connections/native_sqlserver/connection.rb
composite_primary_keys-8.1.6 test/connections/native_sqlserver/connection.rb
composite_primary_keys-8.1.5 test/connections/native_sqlserver/connection.rb
composite_primary_keys-9.0.4 test/connections/native_sqlserver/connection.rb
composite_primary_keys-9.0.2 test/connections/native_sqlserver/connection.rb
composite_primary_keys-9.0.1 test/connections/native_sqlserver/connection.rb
composite_primary_keys-8.1.4 test/connections/native_sqlserver/connection.rb
composite_primary_keys-9.0.0 test/connections/native_sqlserver/connection.rb
composite_primary_keys-9.0.0.beta1 test/connections/native_sqlserver/connection.rb
composite_primary_keys-8.1.3 test/connections/native_sqlserver/connection.rb
composite_primary_keys-8.1.2 test/connections/native_sqlserver/connection.rb
composite_primary_keys-8.1.1 test/connections/native_sqlserver/connection.rb