Title: router's render method will not accept a simple string · Issue #64 · hyperstack-org/hyperstack · GitHub
Open Graph Title: router's render method will not accept a simple string · Issue #64 · hyperstack-org/hyperstack
X Title: router's render method will not accept a simple string · Issue #64 · hyperstack-org/hyperstack
Description: This does not work: class App < HyperComponent include Hyperstack::Router render do "Number of Todos: #{Todo.count}" end end Must be something in the way the router module monkey patches the render method
Open Graph Description: This does not work: class App < HyperComponent include Hyperstack::Router render do "Number of Todos: #{Todo.count}" end end Must be something in the way the router module monkey patches the render...
X Description: This does not work: class App < HyperComponent include Hyperstack::Router render do "Number of Todos: #{Todo.count}" end end Must be something in the way the router module monkey patch...
Opengraph URL: https://github.com/hyperstack-org/hyperstack/issues/64
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"router's render method will not accept a simple string","articleBody":"This does **not** work:\r\n\r\n```ruby\r\n class App \u003c HyperComponent\r\n include Hyperstack::Router\r\n render do\r\n \"Number of Todos: #{Todo.count}\" \r\n end\r\n end\r\n```\r\n\r\nMust be something in the way the router module monkey patches the render method","author":{"url":"https://github.com/catmando","@type":"Person","name":"catmando"},"datePublished":"2018-11-17T12:30:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/64/hyperstack/issues/64"}
| 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:3a908f2b-7362-4501-ef5b-9f5a5cf14e7f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DABE:2B0DBC:175FBD:1EA421:69920435 |
| html-safe-nonce | 3cbf99f2a072bdf0ed04d9748e824c9f02ca8f2b3fee1061159b65c1d5971eb3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQUJFOjJCMERCQzoxNzVGQkQ6MUVBNDIxOjY5OTIwNDM1IiwidmlzaXRvcl9pZCI6IjgwMzExMzA4OTAxMDgyNzM3MTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f07a10e7bdc114b3f1ad16fe40a9578bb8f6b7c0d2dc6f3cf9d3552ac2d93b7d |
| hovercard-subject-tag | issue:381858874 |
| 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/hyperstack-org/hyperstack/64/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b06eb50913c925466e6cdf3f4c01a0b6827cda2dad19b260f527003c2f860c68/hyperstack-org/hyperstack/issues/64 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b06eb50913c925466e6cdf3f4c01a0b6827cda2dad19b260f527003c2f860c68/hyperstack-org/hyperstack/issues/64 |
| og:image:alt | This does not work: class App < HyperComponent include Hyperstack::Router render do "Number of Todos: #{Todo.count}" end end Must be something in the way the router module monkey patches the render... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | catmando |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/hyperstack-org/hyperstack git https://github.com/hyperstack-org/hyperstack.git |
| octolytics-dimension-user_id | 34562730 |
| octolytics-dimension-user_login | hyperstack-org |
| octolytics-dimension-repository_id | 145879576 |
| octolytics-dimension-repository_nwo | hyperstack-org/hyperstack |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 145879576 |
| octolytics-dimension-repository_network_root_nwo | hyperstack-org/hyperstack |
| 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 | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width