Title: Ruby 3 upgrade throws kernel error for the overwritten each method · Issue #232 · codegram/hyperclient · GitHub
Open Graph Title: Ruby 3 upgrade throws kernel error for the overwritten each method · Issue #232 · codegram/hyperclient
X Title: Ruby 3 upgrade throws kernel error for the overwritten each method · Issue #232 · codegram/hyperclient
Description: 🐞 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 leve...
Open Graph Description: 🐞 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 e...
X Description: 🐞 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 ...
Opengraph URL: https://github.com/codegram/hyperclient/issues/232
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Ruby 3 upgrade throws kernel error for the overwritten each method","articleBody":"## 🐞 Bug Report\r\n\r\n### Steps to reproduce\r\nWe have an item that is the first hyperlink to the actual media and need to iterate through the sub nodes of it:\r\n```ruby\r\nitem.sub_nodes.map(\u0026:name).to_s\r\n```\r\nAnd then we get an error saying \r\n```\r\nSystemStackError:\r\n stack level too deep\r\n```\r\nsince upgrading the rails app to ruby 3 (and rails 6.1)\r\n\r\n### Expected behavior\r\n\r\nWe would expect to get a string back that contains the name of each item sub node. \r\n\r\n### Possible Solution\r\n\r\nWe don't exactly have a solution, but suppose the answer would be somewhere in the definition of the each block here: https://github.com/codegram/hyperclient/blob/0e445dcc8c8d4bf53475f468239cd507944184a3/lib/hyperclient/link.rb#L28\r\n\r\n","author":{"url":"https://github.com/kajatiger","@type":"Person","name":"kajatiger"},"datePublished":"2022-01-12T15:31:20.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/232/hyperclient/issues/232"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:48b1164a-1c88-b9b0-04fd-e51eba5fde9b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AA3C:26E954:2756A34:3788D01:6978F7E9 |
| html-safe-nonce | a7cd2071ac2c618eaa54cb44348dc11d899920974d3845904f7dff152c3f2e28 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQTNDOjI2RTk1NDoyNzU2QTM0OjM3ODhEMDE6Njk3OEY3RTkiLCJ2aXNpdG9yX2lkIjoiMjA4NTQ3NjQ5Mzk1MjYxMjMyOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d214f1daaa01bb11657125d18db8b95c96eee73a0e7dacb5497f541bf4db1abf |
| hovercard-subject-tag | issue:1100478821 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/codegram/hyperclient/232/issue_layout |
| twitter:image | https://opengraph.githubassets.com/519c8a9eb382e272111ebe8cd6af3b2333272257a0d6dbc6cf9f265bf7dd9ea1/codegram/hyperclient/issues/232 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/519c8a9eb382e272111ebe8cd6af3b2333272257a0d6dbc6cf9f265bf7dd9ea1/codegram/hyperclient/issues/232 |
| og:image:alt | 🐞 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 e... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kajatiger |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6d9b384ce19e0ac9756580c70eae9a3359939e77ff05c731561090d13085b2b7 |
| turbo-cache-control | no-preview |
| go-import | github.com/codegram/hyperclient git https://github.com/codegram/hyperclient.git |
| octolytics-dimension-user_id | 82056 |
| octolytics-dimension-user_login | codegram |
| octolytics-dimension-repository_id | 3877860 |
| octolytics-dimension-repository_nwo | codegram/hyperclient |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3877860 |
| octolytics-dimension-repository_network_root_nwo | codegram/hyperclient |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 56ad33f6fdc0d0fb49c96b3c46ed74c55d926471 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width