aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/pirate.rb
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2017-07-02 01:08:37 +0930
committerMatthew Draper <matthew@trebex.net>2017-07-02 01:11:50 +0930
commit3420a14590c0e6915d8b6c242887f74adb4120f9 (patch)
tree7ae54681e3e2b18555603c39c50b01f3707ef9a7 /activerecord/test/models/pirate.rb
parentafb66a5a598ce4ac74ad84b125a5abf046dcf5aa (diff)
parentcfade1ec7ee7b5b51f3c1578e3474f9c156f2971 (diff)
downloadrails-3420a14590c0e6915d8b6c242887f74adb4120f9.tar.gz
rails-3420a14590c0e6915d8b6c242887f74adb4120f9.tar.bz2
rails-3420a14590c0e6915d8b6c242887f74adb4120f9.zip
Merge pull request #29540 from kirs/rubocop-frozen-string
Enforce frozen string in Rubocop
Diffstat (limited to 'activerecord/test/models/pirate.rb')
-rw-r--r--activerecord/test/models/pirate.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/models/pirate.rb b/activerecord/test/models/pirate.rb
index c532ab426e..21fe1b7847 100644
--- a/activerecord/test/models/pirate.rb
+++ b/activerecord/test/models/pirate.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: true
class Pirate < ActiveRecord::Base
belongs_to :parrot, validate: true
belongs_to :non_validated_parrot, class_name: "Parrot"