aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/sponsor.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/models/sponsor.rb')
-rw-r--r--activerecord/test/models/sponsor.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/test/models/sponsor.rb b/activerecord/test/models/sponsor.rb
index 3f142b25fe..f190860fd1 100644
--- a/activerecord/test/models/sponsor.rb
+++ b/activerecord/test/models/sponsor.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
class Sponsor < ActiveRecord::Base
belongs_to :sponsor_club, class_name: "Club", foreign_key: "club_id"
belongs_to :sponsorable, polymorphic: true