aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema/schema.rb
diff options
context:
space:
mode:
authorGrant Hutchins & Peter Jaros <pair+grant+pjaros@pivotallabs.com>2011-07-08 17:51:40 -0400
committerGrant Hutchins & Peter Jaros <pair+grant+pjaros@pivotallabs.com>2011-07-08 17:51:40 -0400
commit6b9c38c1a8ab8fdd9c77ac87d13c413f8c741928 (patch)
tree8af81fa236288f6f794666e3d939c2928978ac00 /activerecord/test/schema/schema.rb
parent4f7ca00bf28fab4bc788e278734debaec70ea838 (diff)
downloadrails-6b9c38c1a8ab8fdd9c77ac87d13c413f8c741928.tar.gz
rails-6b9c38c1a8ab8fdd9c77ac87d13c413f8c741928.tar.bz2
rails-6b9c38c1a8ab8fdd9c77ac87d13c413f8c741928.zip
ActiveRecord::Base should pass ActiveModel::Lint.
Diffstat (limited to 'activerecord/test/schema/schema.rb')
-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 4fe311b441..8428383d09 100644
--- a/activerecord/test/schema/schema.rb
+++ b/activerecord/test/schema/schema.rb
@@ -305,6 +305,8 @@ ActiveRecord::Schema.define do
t.references :student
end
+ create_table :lint_models, :force => true
+
create_table :line_items, :force => true do |t|
t.integer :invoice_id
t.integer :amount