aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema
diff options
context:
space:
mode:
authorDylan Smith <Dylan.Smith@shopify.com>2013-02-06 13:19:09 -0500
committerDylan Smith <Dylan.Smith@shopify.com>2013-02-07 04:59:33 -0500
commita712e08ebe21f6d8653a0e6602df2e0f5d40d9ca (patch)
tree7cde9049f55e039627b3cb6bfcc45e58bcadd4a8 /activerecord/test/schema
parent1b75666f7f4ec7f013182d24b919ca27b0ca0068 (diff)
downloadrails-a712e08ebe21f6d8653a0e6602df2e0f5d40d9ca.tar.gz
rails-a712e08ebe21f6d8653a0e6602df2e0f5d40d9ca.tar.bz2
rails-a712e08ebe21f6d8653a0e6602df2e0f5d40d9ca.zip
active_record: Quote numeric values compared to string columns.
Diffstat (limited to 'activerecord/test/schema')
-rw-r--r--activerecord/test/schema/schema.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb
index cd9835259a..d789b6cb7a 100644
--- a/activerecord/test/schema/schema.rb
+++ b/activerecord/test/schema/schema.rb
@@ -540,6 +540,8 @@ ActiveRecord::Schema.define do
create_table :price_estimates, :force => true do |t|
t.string :estimate_of_type
t.integer :estimate_of_id
+ t.string :thing_type
+ t.integer :thing_id
t.integer :price
end