diff options
author | Frederick Cheung <frederick.cheung@gmail.com> | 2008-04-25 23:23:48 +0100 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2008-04-26 12:14:50 +1200 |
commit | 44d214235271cb6d2af1c327d592a3010e1ced3e (patch) | |
tree | 5db346cc10ff1dab291e62545a2480a819271f74 /activerecord/test/schema | |
parent | a37546517dad9f6d9a7de6e1dba4d960909d71e8 (diff) | |
download | rails-44d214235271cb6d2af1c327d592a3010e1ced3e.tar.gz rails-44d214235271cb6d2af1c327d592a3010e1ced3e.tar.bz2 rails-44d214235271cb6d2af1c327d592a3010e1ced3e.zip |
Ensure table names are quoted by the association preloading code.
[#45 state:resolved]
Signed-off-by: Michael Koziarski <michael@koziarski.com>
Diffstat (limited to 'activerecord/test/schema')
-rw-r--r-- | activerecord/test/schema/schema.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb index 2e78844c9b..a9b2073b37 100644 --- a/activerecord/test/schema/schema.rb +++ b/activerecord/test/schema/schema.rb @@ -162,6 +162,11 @@ ActiveRecord::Schema.define do t.column :type, :string end + + create_table :jobs, :force => true do |t| + t.integer :ideal_reference_id + end + create_table :keyboards, :force => true, :id => false do |t| t.primary_key :key_number t.string :name @@ -197,6 +202,12 @@ ActiveRecord::Schema.define do t.string :type end + create_table :references, :force => true do |t| + t.integer :person_id + t.integer :job_id + t.boolean :favourite + end + create_table :minimalistics, :force => true do |t| end |