Title: Bug in Sprangular::SmallVariantSerializer · Issue #192 · sprangular/sprangular · GitHub
Open Graph Title: Bug in Sprangular::SmallVariantSerializer · Issue #192 · sprangular/sprangular
X Title: Bug in Sprangular::SmallVariantSerializer · Issue #192 · sprangular/sprangular
Description: If I opt not to track inventory on a given variant, variant.total_on_hand is Infinity, which cannot be implicitly converted to JSON, resulting in a JSON::GeneratorError exception during serialization. I'm not sure what the correct outcom...
Open Graph Description: If I opt not to track inventory on a given variant, variant.total_on_hand is Infinity, which cannot be implicitly converted to JSON, resulting in a JSON::GeneratorError exception during serializati...
X Description: If I opt not to track inventory on a given variant, variant.total_on_hand is Infinity, which cannot be implicitly converted to JSON, resulting in a JSON::GeneratorError exception during serializati...
Opengraph URL: https://github.com/sprangular/sprangular/issues/192
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bug in Sprangular::SmallVariantSerializer","articleBody":"If I opt not to track inventory on a given variant, `variant.total_on_hand` is `Infinity`, which cannot be implicitly converted to JSON, resulting in a `JSON::GeneratorError` exception during serialization.\n\nI'm not sure what the correct outcome is for this use case. I'm open to thoughts.\n","author":{"url":"https://github.com/DanielWright","@type":"Person","name":"DanielWright"},"datePublished":"2015-09-01T15:00:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/192/sprangular/issues/192"}
| 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:7e9a2d9c-63fa-4a36-2f55-448885904575 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DAB2:1A86E7:51ED138:6BB8F16:6974C4C7 |
| html-safe-nonce | 3a4dc8596543cb933ec5d700c82a20c8c47a593fca9da6263273027a302ad029 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQUIyOjFBODZFNzo1MUVEMTM4OjZCQjhGMTY6Njk3NEM0QzciLCJ2aXNpdG9yX2lkIjoiNjA2NzcyMjUxODE0MTM4Nzk3NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 286b83e0c6f834daaf731d608671386cb271ef00f0f79cd378142026f84e30d6 |
| hovercard-subject-tag | issue:104286527 |
| 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/sprangular/sprangular/192/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2004aee701416397d2d748d067f99ae96427e74092e1874027a947197e290649/sprangular/sprangular/issues/192 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2004aee701416397d2d748d067f99ae96427e74092e1874027a947197e290649/sprangular/sprangular/issues/192 |
| og:image:alt | If I opt not to track inventory on a given variant, variant.total_on_hand is Infinity, which cannot be implicitly converted to JSON, resulting in a JSON::GeneratorError exception during serializati... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | DanielWright |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f |
| turbo-cache-control | no-preview |
| go-import | github.com/sprangular/sprangular git https://github.com/sprangular/sprangular.git |
| octolytics-dimension-user_id | 10926453 |
| octolytics-dimension-user_login | sprangular |
| octolytics-dimension-repository_id | 22926972 |
| octolytics-dimension-repository_nwo | sprangular/sprangular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 22926972 |
| octolytics-dimension-repository_network_root_nwo | sprangular/sprangular |
| 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 | 488b30e96dfd057fbbe44c6665ccbc030b729dde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width