René's URL Explorer Experiment


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: A collection of Ruby libraries for working with SQL on top of ActiveRecord's connection - Use find_by_sql instead of select_all and send(:instantiate) by jhawthorn · Pull Request #57 · github/github-ds

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

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:45236f52-2425-a335-9186-931b9030a9ec
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8E64:10CC91:EF5E80:1308300:69902063
html-safe-nonce81de4abbdc8500c14a4c6989dc11de12efba7617f820d7f24f4824b46862a485
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTY0OjEwQ0M5MTpFRjVFODA6MTMwODMwMDo2OTkwMjA2MyIsInZpc2l0b3JfaWQiOiIxMjU4NTMxMDg0Mjg0NDY5MzQ3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacebb56983dd3c3293a7b870f787c61b3d69935bdc587b916a0d53c7488b5aebb1
hovercard-subject-tagpull_request:741592013
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/github/github-ds/57/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/3eee55b86bb436f837eb9fc750823c7763139b371adcde7859c82b9d964c2096/github/github-ds/pull/57
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3eee55b86bb436f837eb9fc750823c7763139b371adcde7859c82b9d964c2096/github/github-ds/pull/57
og:image:altThese 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:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejhawthorn
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
turbo-cache-controlno-cache
go-importgithub.com/github/github-ds git https://github.com/github/github-ds.git
octolytics-dimension-user_id9919
octolytics-dimension-user_logingithub
octolytics-dimension-repository_id75887039
octolytics-dimension-repository_nwogithub/github-ds
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id75887039
octolytics-dimension-repository_network_root_nwogithub/github-ds
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/github/github-ds/pull/57#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fgithub-ds%2Fpull%2F57
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fgithub-ds%2Fpull%2F57
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=github%2Fgithub-ds
Reloadhttps://patch-diff.githubusercontent.com/github/github-ds/pull/57
Reloadhttps://patch-diff.githubusercontent.com/github/github-ds/pull/57
Reloadhttps://patch-diff.githubusercontent.com/github/github-ds/pull/57
github https://patch-diff.githubusercontent.com/github
github-dshttps://patch-diff.githubusercontent.com/github/github-ds
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fgithub%2Fgithub-ds
Fork 30 https://patch-diff.githubusercontent.com/login?return_to=%2Fgithub%2Fgithub-ds
Star 699 https://patch-diff.githubusercontent.com/login?return_to=%2Fgithub%2Fgithub-ds
Code https://patch-diff.githubusercontent.com/github/github-ds
Issues 3 https://patch-diff.githubusercontent.com/github/github-ds/issues
Pull requests 4 https://patch-diff.githubusercontent.com/github/github-ds/pulls
Actions https://patch-diff.githubusercontent.com/github/github-ds/actions
Projects 0 https://patch-diff.githubusercontent.com/github/github-ds/projects
Models https://patch-diff.githubusercontent.com/github/github-ds/models
Security 0 https://patch-diff.githubusercontent.com/github/github-ds/security
Insights https://patch-diff.githubusercontent.com/github/github-ds/pulse
Code https://patch-diff.githubusercontent.com/github/github-ds
Issues https://patch-diff.githubusercontent.com/github/github-ds/issues
Pull requests https://patch-diff.githubusercontent.com/github/github-ds/pulls
Actions https://patch-diff.githubusercontent.com/github/github-ds/actions
Projects https://patch-diff.githubusercontent.com/github/github-ds/projects
Models https://patch-diff.githubusercontent.com/github/github-ds/models
Security https://patch-diff.githubusercontent.com/github/github-ds/security
Insights https://patch-diff.githubusercontent.com/github/github-ds/pulse
jhawthornhttps://patch-diff.githubusercontent.com/jhawthorn
masterhttps://patch-diff.githubusercontent.com/github/github-ds/tree/master
load_from_sqlhttps://patch-diff.githubusercontent.com/github/github-ds/tree/load_from_sql
Conversationhttps://patch-diff.githubusercontent.com/github/github-ds/pull/57
Commits2 (2)https://patch-diff.githubusercontent.com/github/github-ds/pull/57/commits
Checkshttps://patch-diff.githubusercontent.com/github/github-ds/pull/57/checks
Files changedhttps://patch-diff.githubusercontent.com/github/github-ds/pull/57/files
Use find_by_sql instead of select_all and send(:instantiate)https://patch-diff.githubusercontent.com/github/github-ds/pull/57#top
jhawthornhttps://patch-diff.githubusercontent.com/jhawthorn
masterhttps://patch-diff.githubusercontent.com/github/github-ds/tree/master
load_from_sqlhttps://patch-diff.githubusercontent.com/github/github-ds/tree/load_from_sql
https://patch-diff.githubusercontent.com/jhawthorn
jhawthornhttps://patch-diff.githubusercontent.com/jhawthorn
Sep 23, 2021https://patch-diff.githubusercontent.com/github/github-ds/pull/57#issue-1005677798
Please reload this pagehttps://patch-diff.githubusercontent.com/github/github-ds/pull/57
https://patch-diff.githubusercontent.com/zerowidth
zerowidthhttps://patch-diff.githubusercontent.com/zerowidth
Sep 23, 2021 https://patch-diff.githubusercontent.com/github/github-ds/pull/57#pullrequestreview-762321112
View reviewed changes https://patch-diff.githubusercontent.com/github/github-ds/pull/57/files
zerowidthhttps://patch-diff.githubusercontent.com/zerowidth
https://patch-diff.githubusercontent.com/github/github-ds/pull/57#pullrequestreview-762321112
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/github/github-ds/pull/57
https://patch-diff.githubusercontent.com/jhawthorn
Use _load_from_sql instead of send(:instantiate)https://patch-diff.githubusercontent.com/github/github-ds/pull/57/commits/597abcd62e847befca83eb5e9c2148860177b98e
597abcdhttps://patch-diff.githubusercontent.com/github/github-ds/pull/57/commits/597abcd62e847befca83eb5e9c2148860177b98e
https://patch-diff.githubusercontent.com/jhawthorn
jhawthornhttps://patch-diff.githubusercontent.com/jhawthorn
force-pushedhttps://patch-diff.githubusercontent.com/github/github-ds/compare/4f4915511ea742fb69d333898873ffcd2775a6c1..597abcd62e847befca83eb5e9c2148860177b98e
4f49155https://patch-diff.githubusercontent.com/github/github-ds/commit/4f4915511ea742fb69d333898873ffcd2775a6c1
597abcdhttps://patch-diff.githubusercontent.com/github/github-ds/commit/597abcd62e847befca83eb5e9c2148860177b98e
Compare https://patch-diff.githubusercontent.com/github/github-ds/compare/4f4915511ea742fb69d333898873ffcd2775a6c1..597abcd62e847befca83eb5e9c2148860177b98e
September 23, 2021 18:07https://patch-diff.githubusercontent.com/github/github-ds/pull/57#event-5351602751
https://patch-diff.githubusercontent.com/jhawthorn
Actually just use find_by_sqlhttps://patch-diff.githubusercontent.com/github/github-ds/pull/57/commits/8a06b48b5f7bc06ff2d251d4cbb891d327a9e690
8a06b48https://patch-diff.githubusercontent.com/github/github-ds/pull/57/commits/8a06b48b5f7bc06ff2d251d4cbb891d327a9e690
https://patch-diff.githubusercontent.com/jhawthorn
jhawthornhttps://patch-diff.githubusercontent.com/jhawthorn
Sep 23, 2021https://patch-diff.githubusercontent.com/github/github-ds/pull/57#event-5351669379
https://patch-diff.githubusercontent.com/jhawthorn
jhawthornhttps://patch-diff.githubusercontent.com/jhawthorn
Sep 23, 2021https://patch-diff.githubusercontent.com/github/github-ds/pull/57#issuecomment-926050353
Please reload this pagehttps://patch-diff.githubusercontent.com/github/github-ds/pull/57
https://patch-diff.githubusercontent.com/jhawthorn
jhawthornhttps://patch-diff.githubusercontent.com/jhawthorn
Sep 23, 2021https://patch-diff.githubusercontent.com/github/github-ds/pull/57#event-5351679926
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/github/github-ds/pull/{{ revealButtonHref }}
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fgithub-ds%2Fpull%2F57
https://patch-diff.githubusercontent.com/zerowidth
zerowidth https://patch-diff.githubusercontent.com/zerowidth
https://patch-diff.githubusercontent.com/github/github-ds/pull/57/files/4f4915511ea742fb69d333898873ffcd2775a6c1
Please reload this pagehttps://patch-diff.githubusercontent.com/github/github-ds/pull/57
https://patch-diff.githubusercontent.com/jhawthorn
https://patch-diff.githubusercontent.com/zerowidth
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.