aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2010-12-12 17:03:41 +0000
committerAaron Patterson <aaron.patterson@gmail.com>2010-12-15 11:03:58 -0800
commita04e1036691ca98579dd8b8b6cb19ffb23f85c72 (patch)
tree31939cee462d979cdddc31c99bc58238e261367d /activerecord/test/schema
parent16e93f2c3c3ca37d2bae9801b680b05f75c48c18 (diff)
downloadrails-a04e1036691ca98579dd8b8b6cb19ffb23f85c72.tar.gz
rails-a04e1036691ca98579dd8b8b6cb19ffb23f85c72.tar.bz2
rails-a04e1036691ca98579dd8b8b6cb19ffb23f85c72.zip
Verify that creating a has_many through record where there is a default_scope on the join model works correctly (creates the join record with the default scope applied)
Diffstat (limited to 'activerecord/test/schema')
-rw-r--r--activerecord/test/schema/schema.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb
index d4eb56c4d7..177045ac51 100644
--- a/activerecord/test/schema/schema.rb
+++ b/activerecord/test/schema/schema.rb
@@ -112,6 +112,7 @@ ActiveRecord::Schema.define do
t.column :category_id, :integer
t.column :post_id, :integer
t.column :author_id, :integer
+ t.column :special, :boolean
end
create_table :citations, :force => true do |t|