diff options
author | José Valim <jose.valim@gmail.com> | 2011-07-08 18:34:02 -0700 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-07-08 18:34:02 -0700 |
commit | 6917c65f048b3b5d09ac80271b0c94eae0120f0c (patch) | |
tree | 1c805286019e1832c36667a709e97d56a9a3b400 /activerecord/test/schema | |
parent | d9182c0ae9494ad1181678644cbe1c5974e1069c (diff) | |
parent | 6b9c38c1a8ab8fdd9c77ac87d13c413f8c741928 (diff) | |
download | rails-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.rb | 2 |
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 |