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 05:02:38 -0500
commit04c2d2e2e4197a1564c33f09d3e52253d845925f (patch)
treec57b23a3197d773dcce73a322806f49833208dbf /activerecord/test/schema
parentb4f189a162f4280b360dbc2a6635bbff6c6f09bc (diff)
downloadrails-04c2d2e2e4197a1564c33f09d3e52253d845925f.tar.gz
rails-04c2d2e2e4197a1564c33f09d3e52253d845925f.tar.bz2
rails-04c2d2e2e4197a1564c33f09d3e52253d845925f.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 ab62fb82b6..c9ca7adc70 100644
--- a/activerecord/test/schema/schema.rb
+++ b/activerecord/test/schema/schema.rb
@@ -530,6 +530,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