aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/chef.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/models/chef.rb')
-rw-r--r--activerecord/test/models/chef.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/test/models/chef.rb b/activerecord/test/models/chef.rb
index 698a52e045..9d3dd01016 100644
--- a/activerecord/test/models/chef.rb
+++ b/activerecord/test/models/chef.rb
@@ -2,3 +2,7 @@ class Chef < ActiveRecord::Base
belongs_to :employable, polymorphic: true
has_many :recipes
end
+
+class ChefList < Chef
+ belongs_to :employable_list, polymorphic: true
+end