aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/scoping
diff options
context:
space:
mode:
authorKir Shatrov <shatrov@me.com>2017-06-22 22:59:18 -0400
committerKir Shatrov <shatrov@me.com>2017-07-01 02:11:03 +0300
commitcfade1ec7ee7b5b51f3c1578e3474f9c156f2971 (patch)
tree5c12d112bf4d039587d712b0cae92a2d920fee23 /activerecord/lib/active_record/scoping
parent5fe2a4f929fff7fa725545c47ac0f9372d8c643d (diff)
downloadrails-cfade1ec7ee7b5b51f3c1578e3474f9c156f2971.tar.gz
rails-cfade1ec7ee7b5b51f3c1578e3474f9c156f2971.tar.bz2
rails-cfade1ec7ee7b5b51f3c1578e3474f9c156f2971.zip
Enforce frozen string in Rubocop
Diffstat (limited to 'activerecord/lib/active_record/scoping')
-rw-r--r--activerecord/lib/active_record/scoping/default.rb1
-rw-r--r--activerecord/lib/active_record/scoping/named.rb1
2 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/scoping/default.rb b/activerecord/lib/active_record/scoping/default.rb
index 70b2693b28..eeb89c405a 100644
--- a/activerecord/lib/active_record/scoping/default.rb
+++ b/activerecord/lib/active_record/scoping/default.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: true
module ActiveRecord
module Scoping
module Default
diff --git a/activerecord/lib/active_record/scoping/named.rb b/activerecord/lib/active_record/scoping/named.rb
index b4026fabb2..c16cbce109 100644
--- a/activerecord/lib/active_record/scoping/named.rb
+++ b/activerecord/lib/active_record/scoping/named.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: true
require "active_support/core_ext/array"
require "active_support/core_ext/hash/except"
require "active_support/core_ext/kernel/singleton_class"