aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/db_definitions
diff options
context:
space:
mode:
authorMichael Koziarski <michael@koziarski.com>2007-10-10 06:45:13 +0000
committerMichael Koziarski <michael@koziarski.com>2007-10-10 06:45:13 +0000
commit1c881ca5bfc36689b4918edf497b38d24df7b57e (patch)
treed2b70c2ea0ffeafb40d194129e9cdee8f2bd2481 /activerecord/test/fixtures/db_definitions
parent4db4661a67529d6238ed255cd51d42d6f68306e1 (diff)
downloadrails-1c881ca5bfc36689b4918edf497b38d24df7b57e.tar.gz
rails-1c881ca5bfc36689b4918edf497b38d24df7b57e.tar.bz2
rails-1c881ca5bfc36689b4918edf497b38d24df7b57e.zip
Ensure that 'autosaving' works when associations aren't loaded [Bryan Helmkamp] References #8713
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7824 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/fixtures/db_definitions')
-rw-r--r--activerecord/test/fixtures/db_definitions/schema.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/db_definitions/schema.rb b/activerecord/test/fixtures/db_definitions/schema.rb
index cdebcbbe5f..52cd9f36f0 100644
--- a/activerecord/test/fixtures/db_definitions/schema.rb
+++ b/activerecord/test/fixtures/db_definitions/schema.rb
@@ -75,4 +75,9 @@ ActiveRecord::Schema.define do
t.column :real_number, :real
end
end
+
+ create_table :audit_logs, :force => true do |t|
+ t.column :message, :string, :null=>false
+ t.column :developer_id, :integer, :null=>false
+ end
end