Skip to content

Commit 15a7b1a

Browse files
committed
Copy edits on the commit to avoid exposing this class in public API
1 parent 92bb466 commit 15a7b1a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

activerecord/lib/active_record/relation/query_methods.rb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,17 +120,15 @@ def scope_association_reflection(association)
120120
end
121121
end
122122

123-
# A wrapper to distinguish CTE joins from other nodes
124-
class CTEJoin
123+
# A wrapper to distinguish CTE joins from other nodes.
124+
class CTEJoin # :nodoc:
125125
attr_reader :name
126126

127127
def initialize(name)
128128
@name = name
129129
end
130130
end
131131

132-
private_constant :CTEJoin
133-
134132
FROZEN_EMPTY_ARRAY = [].freeze
135133
FROZEN_EMPTY_HASH = {}.freeze
136134

0 commit comments

Comments
 (0)