aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/event.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/models/event.rb')
-rw-r--r--activerecord/test/models/event.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/test/models/event.rb b/activerecord/test/models/event.rb
index 365ab32b0b..a7cdc39e5c 100644
--- a/activerecord/test/models/event.rb
+++ b/activerecord/test/models/event.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
class Event < ActiveRecord::Base
validates_uniqueness_of :title
end