aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/dog_lover.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/models/dog_lover.rb')
-rw-r--r--activerecord/test/models/dog_lover.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/test/models/dog_lover.rb b/activerecord/test/models/dog_lover.rb
index 2c5be94aea..aabe914f77 100644
--- a/activerecord/test/models/dog_lover.rb
+++ b/activerecord/test/models/dog_lover.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
class DogLover < ActiveRecord::Base
has_many :trained_dogs, class_name: "Dog", foreign_key: :trainer_id, dependent: :destroy
has_many :bred_dogs, class_name: "Dog", foreign_key: :breeder_id