aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2011-07-08 18:34:02 -0700
committerJosé Valim <jose.valim@gmail.com>2011-07-08 18:34:02 -0700
commit6917c65f048b3b5d09ac80271b0c94eae0120f0c (patch)
tree1c805286019e1832c36667a709e97d56a9a3b400 /activerecord/test/schema
parentd9182c0ae9494ad1181678644cbe1c5974e1069c (diff)
parent6b9c38c1a8ab8fdd9c77ac87d13c413f8c741928 (diff)
downloadrails-6917c65f048b3b5d09ac80271b0c94eae0120f0c.tar.gz
rails-6917c65f048b3b5d09ac80271b0c94eae0120f0c.tar.bz2
rails-6917c65f048b3b5d09ac80271b0c94eae0120f0c.zip
Merge pull request #2017 from Casecommons/active_record_lint
ActiveRecord::Base subclasses should pass ActiveModel::Lint.
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 fd2ee23dd5..e6cd274586 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