aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/drink_designer.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/models/drink_designer.rb')
-rw-r--r--activerecord/test/models/drink_designer.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/activerecord/test/models/drink_designer.rb b/activerecord/test/models/drink_designer.rb
index 2db968ef11..eb6701b84e 100644
--- a/activerecord/test/models/drink_designer.rb
+++ b/activerecord/test/models/drink_designer.rb
@@ -1,3 +1,8 @@
+# frozen_string_literal: true
+
class DrinkDesigner < ActiveRecord::Base
has_one :chef, as: :employable
end
+
+class MocktailDesigner < DrinkDesigner
+end