aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/matey.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/models/matey.rb')
-rw-r--r--activerecord/test/models/matey.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/activerecord/test/models/matey.rb b/activerecord/test/models/matey.rb
index 47b0baa974..a77ac21e96 100644
--- a/activerecord/test/models/matey.rb
+++ b/activerecord/test/models/matey.rb
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
class Matey < ActiveRecord::Base
belongs_to :pirate
- belongs_to :target, :class_name => 'Pirate'
+ belongs_to :target, class_name: "Pirate"
end