aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/job.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/models/job.rb')
-rw-r--r--activerecord/test/models/job.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/activerecord/test/models/job.rb b/activerecord/test/models/job.rb
index f7b0e787b1..52817a8435 100644
--- a/activerecord/test/models/job.rb
+++ b/activerecord/test/models/job.rb
@@ -1,7 +1,9 @@
+# frozen_string_literal: true
+
class Job < ActiveRecord::Base
has_many :references
- has_many :people, :through => :references
- belongs_to :ideal_reference, :class_name => 'Reference'
+ has_many :people, through: :references
+ belongs_to :ideal_reference, class_name: "Reference"
- has_many :agents, :through => :people
+ has_many :agents, through: :people
end