Title: Use find_by_sql instead of select_all and send(:instantiate) by jhawthorn · Pull Request #57 · github/github-ds · GitHub
Open Graph Title: Use find_by_sql instead of select_all and send(:instantiate) by jhawthorn · Pull Request #57 · github/github-ds
X Title: Use find_by_sql instead of select_all and send(:instantiate) by jhawthorn · Pull Request #57 · github/github-ds
Description: These are both private APIs, but _load_from_sql will give us even more standard behaviour (this is what find_by_sql calls) including emitting the instantiation.active_record notification. This may be faster in some cases since _load_from_sql includes a fast path for when an inheritance column isn't present.
Open Graph Description: These are both private APIs, but _load_from_sql will give us even more standard behaviour (this is what find_by_sql calls) including emitting the instantiation.active_record notification. This may ...
X Description: These are both private APIs, but _load_from_sql will give us even more standard behaviour (this is what find_by_sql calls) including emitting the instantiation.active_record notification. This may ...
Opengraph URL: https://github.com/github/github-ds/pull/57
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:4d27e893-b877-a464-54e4-b7d5359d2d12 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | D008:BB336:1599E65:1BEBFE2:69908306 |
| html-safe-nonce | 01a714a05920a8b7003c4987cd4a20e398aae8e9103adf58f00714224fe4464f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDA4OkJCMzM2OjE1OTlFNjU6MUJFQkZFMjo2OTkwODMwNiIsInZpc2l0b3JfaWQiOiI3Nzc3MTc4MDE5NjQwNDUwNjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c53a78ea3cdedabfda458ee82401956179926e42d68ab06ea9e4f37ac6b5bc15 |
| hovercard-subject-tag | pull_request:741592013 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/github/github-ds/pull/57/checks |
| twitter:image | https://avatars.githubusercontent.com/u/131752?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/131752?s=400&v=4 |
| og:image:alt | These are both private APIs, but _load_from_sql will give us even more standard behaviour (this is what find_by_sql calls) including emitting the instantiation.active_record notification. This may ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/github/github-ds git https://github.com/github/github-ds.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 75887039 |
| octolytics-dimension-repository_nwo | github/github-ds |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 75887039 |
| octolytics-dimension-repository_network_root_nwo | github/github-ds |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width