Fixed that unit tests for MySQL are now run as the "rails" user instead of root #455 [Eric Hodel]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@419 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 51390b85
*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
......
......@@ -10,7 +10,7 @@
ActiveRecord::Base.establish_connection(
:adapter => "mysql",
:host => "localhost",
:username => "root",
:username => "rails",
:password => "",
:database => db1
)
......@@ -18,7 +18,7 @@
Course.establish_connection(
:adapter => "mysql",
:host => "localhost",
:username => "root",
:username => "rails",
:password => "",
:database => db2
)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册