aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2011-12-30 10:02:19 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2011-12-30 10:02:19 -0800
commit116b9edf95ccaa59feb6afe67b126ad3da526b92 (patch)
tree8c9bcdadd3e2a6315e165bf2a1582afa5898236c /activerecord/test/schema
parent4b99732552f997c846b186f9e2d3439ff75baff0 (diff)
parentb52d9d0ff585f3131e26317542df2971a667d319 (diff)
downloadrails-116b9edf95ccaa59feb6afe67b126ad3da526b92.tar.gz
rails-116b9edf95ccaa59feb6afe67b126ad3da526b92.tar.bz2
rails-116b9edf95ccaa59feb6afe67b126ad3da526b92.zip
Merge pull request #4224 from alexeymuranov/my-fix-for-fixture-tables
Fix #2572 and define fixture table name in the associated model
Diffstat (limited to 'activerecord/test/schema')
-rw-r--r--activerecord/test/schema/schema.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb
index b06175cd3f..b8f34bb739 100644
--- a/activerecord/test/schema/schema.rb
+++ b/activerecord/test/schema/schema.rb
@@ -505,6 +505,11 @@ ActiveRecord::Schema.define do
t.string :type
end
+ create_table :randomly_named_table, :force => true do |t|
+ t.string :some_attribute
+ t.integer :another_attribute
+ end
+
create_table :ratings, :force => true do |t|
t.integer :comment_id
t.integer :value