Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #6580: add_trusted_config_to_odbc_connection.diff

File add_trusted_config_to_odbc_connection.diff, 0.7 kB (added by brandon.beacher, 2 years ago)
  • activerecord/test/connections/native_sqlserver_odbc/connection.rb

    old new  
    1818    :host     => 'localhost', 
    1919    :username => 'sa', 
    2020    :dsn => 'activerecord_unittest2' 
    21   } 
    22 
     21  }, 
     22  'arunit_trusted' => { 
     23    :adapter  => 'sqlserver', 
     24    :mode     => 'ODBC', 
     25    :dsn => 'activerecord_unittest_trusted' 
     26  }} 
    2327 
    2428ActiveRecord::Base.establish_connection 'arunit' 
    2529Course.establish_connection 'arunit2'