diff options
-rw-r--r-- | activerecord/CHANGELOG | 2 | ||||
-rw-r--r-- | activerecord/test/connections/native_mysql/connection.rb | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG index ba5cf01178..b338ef3037 100644 --- a/activerecord/CHANGELOG +++ b/activerecord/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Fixed that unit tests for MySQL are now run as the "rails" user instead of root #455 [Eric Hodel] + * Added validates_associated that enables validation of objects in an unsaved association #398 [Tim Bates]. Example: class Book < ActiveRecord::Base diff --git a/activerecord/test/connections/native_mysql/connection.rb b/activerecord/test/connections/native_mysql/connection.rb index b663106d1f..b73023f337 100644 --- a/activerecord/test/connections/native_mysql/connection.rb +++ b/activerecord/test/connections/native_mysql/connection.rb @@ -10,7 +10,7 @@ db2 = 'activerecord_unittest2' ActiveRecord::Base.establish_connection( :adapter => "mysql", :host => "localhost", - :username => "root", + :username => "rails", :password => "", :database => db1 ) @@ -18,7 +18,7 @@ ActiveRecord::Base.establish_connection( Course.establish_connection( :adapter => "mysql", :host => "localhost", - :username => "root", + :username => "rails", :password => "", :database => db2 ) |