René's URL Explorer Experiment


Title: fix: add railtie to clear caches when code reloads by adamkiczula · Pull Request #1448 · JSONAPI-Resources/jsonapi-resources · GitHub

Open Graph Title: fix: add railtie to clear caches when code reloads by adamkiczula · Pull Request #1448 · JSONAPI-Resources/jsonapi-resources

X Title: fix: add railtie to clear caches when code reloads by adamkiczula · Pull Request #1448 · JSONAPI-Resources/jsonapi-resources

Description: A resource-focused Rails library for developing JSON:API compliant servers. - fix: add railtie to clear caches when code reloads by adamkiczula · Pull Request #1448 · JSONAPI-Resources/jsonapi-resources

Open Graph Description: fixes #1439 This adds a railtie hook to clean up the JSONAPI::Resource caches when code reloads so that we don't have stale references to classes lying around. I'm not sure how to test this...

X Description: fixes #1439 This adds a railtie hook to clean up the JSONAPI::Resource caches when code reloads so that we don't have stale references to classes lying around. I'm not sure how to t...

Opengraph URL: https://github.com/JSONAPI-Resources/jsonapi-resources/pull/1448

X: @github

direct link

Domain: github.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:7a37d105-a8ff-0825-abc5-e646a579facf
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9500:1DD869:AF8DA22:B2ED264:6A50BB54
html-safe-nonce21a3e278c6aadff827a1c4c07d09ea774c1393587c69ddc4e47f375851c258cf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTAwOjFERDg2OTpBRjhEQTIyOkIyRUQyNjQ6NkE1MEJCNTQiLCJ2aXNpdG9yX2lkIjoiNjU4OTgxODI0NDQ0MTM1NzE0MCIsInJlZ2lvbl9lZGdlIjoic2VhIiwicmVnaW9uX3JlbmRlciI6InNlYSJ9
visitor-hmac6046ab18143a9d3ebedfab228b07813f7d6445eb44ce12bc017c0b3a48957a27
hovercard-subject-tagpull_request:1716763911
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/JSONAPI-Resources/jsonapi-resources/1448/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/2f53e8d34b7a4ede044554c65c5a3047993a16948c5f97e8c492a2c4860a0e16/JSONAPI-Resources/jsonapi-resources/pull/1448
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2f53e8d34b7a4ede044554c65c5a3047993a16948c5f97e8c492a2c4860a0e16/JSONAPI-Resources/jsonapi-resources/pull/1448
og:image:altfixes #1439 This adds a railtie hook to clean up the JSONAPI::Resource caches when code reloads so that we don't have stale references to classes lying around. I'm not sure how to test this...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameadamkiczula
hostnamegithub.com
expected-hostnamegithub.com
None72b13e0e8d0319acdd27a145cfe73f4f06c791713d0ac4690e41fb68ad28cac0
turbo-cache-controlno-cache
go-importgithub.com/JSONAPI-Resources/jsonapi-resources git https://github.com/JSONAPI-Resources/jsonapi-resources.git
octolytics-dimension-user_id262422067
octolytics-dimension-user_loginJSONAPI-Resources
octolytics-dimension-repository_id18248068
octolytics-dimension-repository_nwoJSONAPI-Resources/jsonapi-resources
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id18248068
octolytics-dimension-repository_network_root_nwoJSONAPI-Resources/jsonapi-resources
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
release08e79d53fc070870d5b168356afebb1e286a2ffe
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/JSONAPI-Resources/jsonapi-resources/pull/1448#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJSONAPI-Resources%2Fjsonapi-resources%2Fpull%2F1448
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJSONAPI-Resources%2Fjsonapi-resources%2Fpull%2F1448
Sign up https://github.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=JSONAPI-Resources%2Fjsonapi-resources
Reloadhttps://github.com/JSONAPI-Resources/jsonapi-resources/pull/1448
Reloadhttps://github.com/JSONAPI-Resources/jsonapi-resources/pull/1448
Reloadhttps://github.com/JSONAPI-Resources/jsonapi-resources/pull/1448
Please reload this pagehttps://github.com/JSONAPI-Resources/jsonapi-resources/pull/1448
JSONAPI-Resources https://github.com/JSONAPI-Resources
jsonapi-resourceshttps://github.com/JSONAPI-Resources/jsonapi-resources
Notifications https://github.com/login?return_to=%2FJSONAPI-Resources%2Fjsonapi-resources
Fork 543 https://github.com/login?return_to=%2FJSONAPI-Resources%2Fjsonapi-resources
Star 2.3k https://github.com/login?return_to=%2FJSONAPI-Resources%2Fjsonapi-resources
Code https://github.com/JSONAPI-Resources/jsonapi-resources
Issues 208 https://github.com/JSONAPI-Resources/jsonapi-resources/issues
Pull requests 52 https://github.com/JSONAPI-Resources/jsonapi-resources/pulls
Discussions https://github.com/JSONAPI-Resources/jsonapi-resources/discussions
Actions https://github.com/JSONAPI-Resources/jsonapi-resources/actions
Projects https://github.com/JSONAPI-Resources/jsonapi-resources/projects
Wiki https://github.com/JSONAPI-Resources/jsonapi-resources/wiki
Security and quality 0 https://github.com/JSONAPI-Resources/jsonapi-resources/security
Insights https://github.com/JSONAPI-Resources/jsonapi-resources/pulse
Code https://github.com/JSONAPI-Resources/jsonapi-resources
Issues https://github.com/JSONAPI-Resources/jsonapi-resources/issues
Pull requests https://github.com/JSONAPI-Resources/jsonapi-resources/pulls
Discussions https://github.com/JSONAPI-Resources/jsonapi-resources/discussions
Actions https://github.com/JSONAPI-Resources/jsonapi-resources/actions
Projects https://github.com/JSONAPI-Resources/jsonapi-resources/projects
Wiki https://github.com/JSONAPI-Resources/jsonapi-resources/wiki
Security and quality https://github.com/JSONAPI-Resources/jsonapi-resources/security
Insights https://github.com/JSONAPI-Resources/jsonapi-resources/pulse
bf4https://github.com/bf4
JSONAPI-Resources:v0-11-devhttps://github.com/JSONAPI-Resources/jsonapi-resources/tree/v0-11-dev
adamkiczula:bug-fix-class-cachinghttps://github.com/adamkiczula/jsonapi-resources/tree/bug-fix-class-caching
Conversationhttps://github.com/JSONAPI-Resources/jsonapi-resources/pull/1448
Commits1 (1)https://github.com/JSONAPI-Resources/jsonapi-resources/pull/1448/commits
Checkshttps://github.com/JSONAPI-Resources/jsonapi-resources/pull/1448/checks
Files changedhttps://github.com/JSONAPI-Resources/jsonapi-resources/pull/1448/files
fix: add railtie to clear caches when code reloadshttps://github.com/JSONAPI-Resources/jsonapi-resources/pull/1448#top
bf4https://github.com/bf4
JSONAPI-Resources:v0-11-devhttps://github.com/JSONAPI-Resources/jsonapi-resources/tree/v0-11-dev
adamkiczula:bug-fix-class-cachinghttps://github.com/adamkiczula/jsonapi-resources/tree/bug-fix-class-caching
https://github.com/adamkiczula
adamkiczulahttps://github.com/adamkiczula
Feb 8, 2024https://github.com/JSONAPI-Resources/jsonapi-resources/pull/1448#issue-2124250336
Please reload this pagehttps://github.com/JSONAPI-Resources/jsonapi-resources/pull/1448
#1439https://github.com/JSONAPI-Resources/jsonapi-resources/issues/1439
#1439https://github.com/JSONAPI-Resources/jsonapi-resources/issues/1439
Pull Requestshttps://github.com/cerebris/jsonapi-resources/pulls
tickethttps://github.com/cerebris/jsonapi-resources/issues
https://github.com/cerebris/jsonapi-resources/issues/1439https://github.com/cerebris/jsonapi-resources/issues/1439
auto-closing keywordshttps://help.github.com/articles/closing-issues-via-commit-messages/
Class caching is too aggressive in dev #1439https://github.com/JSONAPI-Resources/jsonapi-resources/issues/1439
Please reload this pagehttps://github.com/JSONAPI-Resources/jsonapi-resources/pull/1448
https://github.com/adamkiczula
fix: add railtie to clear cache after class changeshttps://github.com/JSONAPI-Resources/jsonapi-resources/pull/1448/commits/8c8fd2ab75ccb751eaa312ae97b1a2ce23161c21
8c8fd2ahttps://github.com/JSONAPI-Resources/jsonapi-resources/pull/1448/commits/8c8fd2ab75ccb751eaa312ae97b1a2ce23161c21
https://github.com/adamkiczula
adamkiczulahttps://github.com/adamkiczula
force-pushedhttps://github.com/JSONAPI-Resources/jsonapi-resources/compare/4cb43d962c307e167940ed196c692b2456958597..8c8fd2ab75ccb751eaa312ae97b1a2ce23161c21
4cb43d9https://github.com/JSONAPI-Resources/jsonapi-resources/commit/4cb43d962c307e167940ed196c692b2456958597
8c8fd2ahttps://github.com/JSONAPI-Resources/jsonapi-resources/commit/8c8fd2ab75ccb751eaa312ae97b1a2ce23161c21
Compare https://github.com/JSONAPI-Resources/jsonapi-resources/compare/4cb43d962c307e167940ed196c692b2456958597..8c8fd2ab75ccb751eaa312ae97b1a2ce23161c21
February 8, 2024 19:15https://github.com/JSONAPI-Resources/jsonapi-resources/pull/1448#event-11750256824
https://github.com/adamkiczula
adamkiczulahttps://github.com/adamkiczula
Feb 8, 2024https://github.com/JSONAPI-Resources/jsonapi-resources/pull/1448#event-11750280549
https://github.com/bf4
bf4https://github.com/bf4
Feb 8, 2024 https://github.com/JSONAPI-Resources/jsonapi-resources/pull/1448#pullrequestreview-1871163537
View reviewed changes https://github.com/JSONAPI-Resources/jsonapi-resources/pull/1448/files/8c8fd2ab75ccb751eaa312ae97b1a2ce23161c21
lib/jsonapi/resources/railtie.rbhttps://github.com/JSONAPI-Resources/jsonapi-resources/pull/1448/files/8c8fd2ab75ccb751eaa312ae97b1a2ce23161c21#diff-6f782ecab1b9c4bc165d1acb5b2fff8f45f267e9c29f2886df50dc0675fc27dd
bf4https://github.com/bf4
Feb 8, 2024https://github.com/JSONAPI-Resources/jsonapi-resources/pull/1448#discussion_r1483534554
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/JSONAPI-Resources/jsonapi-resources/pull/1448
bf4https://github.com/bf4
Feb 8, 2024https://github.com/JSONAPI-Resources/jsonapi-resources/pull/1448#discussion_r1483538529
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://github.com/cerebris/jsonapi-resources/pull/1440https://github.com/cerebris/jsonapi-resources/pull/1440
https://github.com/cerebris/jsonapi-resources/pull/1434https://github.com/cerebris/jsonapi-resources/pull/1434
Please reload this pagehttps://github.com/JSONAPI-Resources/jsonapi-resources/pull/1448
https://github.com/bf4
bf4https://github.com/bf4
bb00bbdhttps://github.com/JSONAPI-Resources/jsonapi-resources/commit/bb00bbd4b8d333248d3aacac2fe6dd2315b87c71
Feb 8, 2024https://github.com/JSONAPI-Resources/jsonapi-resources/pull/1448#event-11750834716
https://github.com/lgebhardt
lgebhardthttps://github.com/lgebhardt
Feb 8, 2024https://github.com/JSONAPI-Resources/jsonapi-resources/pull/1448#issuecomment-1934880303
@adamkiczulahttps://github.com/adamkiczula
Please reload this pagehttps://github.com/JSONAPI-Resources/jsonapi-resources/pull/1448
https://github.com/adamkiczula
adamkiczulahttps://github.com/adamkiczula
February 8, 2024 20:41https://github.com/JSONAPI-Resources/jsonapi-resources/pull/1448#event-11751065028
https://github.com/lgebhardt
lgebhardthttps://github.com/lgebhardt
Mar 15, 2024 https://github.com/JSONAPI-Resources/jsonapi-resources/pull/1448#ref-issue-2100657360
Class caching is too aggressive in dev #1439 https://github.com/JSONAPI-Resources/jsonapi-resources/issues/1439
lgebhardthttps://github.com/lgebhardt
Apr 18, 2024 https://github.com/JSONAPI-Resources/jsonapi-resources/pull/1448#ref-commit-fa3e059
https://github.com/adamkiczula
https://github.com/lgebhardt
fix: add railtie to clear cache after class changes (https://github.com/JSONAPI-Resources/jsonapi-resources/commit/fa3e05912798a45610ae22f11d049366c8c08dab
#1448https://github.com/JSONAPI-Resources/jsonapi-resources/pull/1448
)https://github.com/JSONAPI-Resources/jsonapi-resources/commit/fa3e05912798a45610ae22f11d049366c8c08dab
fa3e059https://github.com/JSONAPI-Resources/jsonapi-resources/commit/fa3e05912798a45610ae22f11d049366c8c08dab
https://github.co/hiddenchars
https://github.com/JSONAPI-Resources/jsonapi-resources/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJSONAPI-Resources%2Fjsonapi-resources%2Fpull%2F1448
https://github.com/bf4
bf4 https://github.com/bf4
https://github.com/JSONAPI-Resources/jsonapi-resources/pull/1448/files/8c8fd2ab75ccb751eaa312ae97b1a2ce23161c21
Please reload this pagehttps://github.com/JSONAPI-Resources/jsonapi-resources/pull/1448
https://github.com/adamkiczula
https://github.com/lgebhardt
https://github.com/bf4
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.