🐞 Bug Report
Steps to reproduce
We have an item that is the first hyperlink to the actual media and need to iterate through the sub nodes of it:
item.sub_nodes.map(&:name).to_s
And then we get an error saying
SystemStackError:
stack level too deep
since upgrading the rails app to ruby 3 (and rails 6.1)
Expected behavior
We would expect to get a string back that contains the name of each item sub node.
Possible Solution
We don't exactly have a solution, but suppose the answer would be somewhere in the definition of the each block here: