We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb7dece commit 82729abCopy full SHA for 82729ab
lib/active_record/virtual_attributes/virtual_fields.rb
@@ -170,6 +170,8 @@ def call
170
class Branch
171
prepend(Module.new {
172
# from branched.rb 7.0
173
+ # not going to modify rails code for rubocops
174
+ # rubocop:disable Lint/AmbiguousOperatorPrecedence
175
def grouped_records
176
h = {}
177
polymorphic_parent = !root? && parent.polymorphic?
@@ -184,6 +186,7 @@ def grouped_records
184
186
end
185
187
h
188
189
+ # rubocop:enable Lint/AmbiguousOperatorPrecedence
190
191
# branched.rb 7.0
192
def preloaders_for_reflection(reflection, reflection_records)
0 commit comments