aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/minivan.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/models/minivan.rb')
-rw-r--r--activerecord/test/models/minivan.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/activerecord/test/models/minivan.rb b/activerecord/test/models/minivan.rb
index 4fe79720ad..d9d331798a 100644
--- a/activerecord/test/models/minivan.rb
+++ b/activerecord/test/models/minivan.rb
@@ -1,9 +1,10 @@
+# frozen_string_literal: true
+
class Minivan < ActiveRecord::Base
self.primary_key = :minivan_id
belongs_to :speedometer
- has_one :dashboard, :through => :speedometer
+ has_one :dashboard, through: :speedometer
attr_readonly :color
-
end