aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/node.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/models/node.rb')
-rw-r--r--activerecord/test/models/node.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/test/models/node.rb b/activerecord/test/models/node.rb
index 459ea8cf95..ae46c76b46 100644
--- a/activerecord/test/models/node.rb
+++ b/activerecord/test/models/node.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
class Node < ActiveRecord::Base
belongs_to :tree, touch: true
belongs_to :parent, class_name: "Node", touch: true, optional: true