aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/connections
diff options
context:
space:
mode:
authorTobias Lütke <tobias.luetke@gmail.com>2006-12-05 17:55:44 +0000
committerTobias Lütke <tobias.luetke@gmail.com>2006-12-05 17:55:44 +0000
commit0ee0c1b2aae3cb90869c79235470e6b69296feeb (patch)
treec6f5d8545dd6b49d9e8e8671dee6f602ebf1dba4 /activerecord/test/connections
parent22f095be233e6cfc9bd21104f271d354451bcdcb (diff)
downloadrails-0ee0c1b2aae3cb90869c79235470e6b69296feeb.tar.gz
rails-0ee0c1b2aae3cb90869c79235470e6b69296feeb.tar.bz2
rails-0ee0c1b2aae3cb90869c79235470e6b69296feeb.zip
Add AssociationCollection#create! to be consistent with AssociationCollection#create when dealing with a foreign key that is a protected attribute
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5677 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/connections')
-rw-r--r--activerecord/test/connections/native_mysql/connection.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/activerecord/test/connections/native_mysql/connection.rb b/activerecord/test/connections/native_mysql/connection.rb
index 9a91a75cac..ff6bda51bb 100644
--- a/activerecord/test/connections/native_mysql/connection.rb
+++ b/activerecord/test/connections/native_mysql/connection.rb
@@ -4,6 +4,9 @@ require 'logger'
ActiveRecord::Base.logger = Logger.new("debug.log")
+# GRANT ALL PRIVILEGES ON activerecord_unittest.* to 'rails'@'localhost';
+# GRANT ALL PRIVILEGES ON activerecord_unittest2.* to 'rails'@'localhost';
+
ActiveRecord::Base.configurations = {
'arunit' => {
:adapter => 'mysql',