Skip to content

Commit cde50dc

Browse files
committed
chore: remove useless association variable
1 parent bbece2a commit cde50dc

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app/services/forest_liana/resources_getter.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,8 +341,6 @@ def compute_select_fields
341341
@field_names_requested.each do |path|
342342
association = get_one_association(path)
343343
if association
344-
# Handle :through associations - resolve to the direct association
345-
original_association = association
346344
through_chain = []
347345
while association.options[:through]
348346
through_chain << association.options[:through]

0 commit comments

Comments
 (0)