aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/organization.rb
diff options
context:
space:
mode:
authorKir Shatrov <shatrov@me.com>2017-07-09 20:41:28 +0300
committerKir Shatrov <shatrov@me.com>2017-07-19 22:27:07 +0300
commit831be98f9a6685da3410b0c9bf4143bd8dd647af (patch)
tree986057c19536bc2aafab76ab12c00245b9289b73 /activerecord/test/models/organization.rb
parent526d4b8dc816c17e354e2e0243af16d10147c3f0 (diff)
downloadrails-831be98f9a6685da3410b0c9bf4143bd8dd647af.tar.gz
rails-831be98f9a6685da3410b0c9bf4143bd8dd647af.tar.bz2
rails-831be98f9a6685da3410b0c9bf4143bd8dd647af.zip
Use frozen-string-literal in ActiveRecord
Diffstat (limited to 'activerecord/test/models/organization.rb')
-rw-r--r--activerecord/test/models/organization.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/test/models/organization.rb b/activerecord/test/models/organization.rb
index 462830dadc..099e7e38e0 100644
--- a/activerecord/test/models/organization.rb
+++ b/activerecord/test/models/organization.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
class Organization < ActiveRecord::Base
has_many :member_details
has_many :members, through: :member_details