Title: feat: query callbacks in model by qszhu · Pull Request #102 · onyxframework/sql · GitHub
Open Graph Title: feat: query callbacks in model by qszhu · Pull Request #102 · onyxframework/sql
X Title: feat: query callbacks in model by qszhu · Pull Request #102 · onyxframework/sql
Description: Not sure whether this is the best way to do it. I added these so that I could write something like the following in a base model: module Models::Base # ... def before_insert @created_at =...
Open Graph Description: Not sure whether this is the best way to do it. I added these so that I could write something like the following in a base model: module Models::Base # ... def before_insert @created_at =...
X Description: Not sure whether this is the best way to do it. I added these so that I could write something like the following in a base model: module Models::Base # ... def before_insert @created_at =...
Opengraph URL: https://github.com/onyxframework/sql/pull/102
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:e18e7e18-3a34-20ff-8e12-a540e0641988 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8FCA:3CE7A4:248166:2F7A99:6980321D |
| html-safe-nonce | 6a52d94ff1090abbdf945f5ae0387810fb9562436b86cd6bac317b6fa44517c7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RkNBOjNDRTdBNDoyNDgxNjY6MkY3QTk5OjY5ODAzMjFEIiwidmlzaXRvcl9pZCI6IjgzODc1NTIwNzk3NjUzMjAyMjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c545348454ce17ed40bfacb7fe443457f95798fc4208c5739b8b293a4517370b |
| hovercard-subject-tag | pull_request:280174885 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/voltron/pull_requests/show/onyxframework/sql/102/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/8a51115a4ff9902c5e8087033464339654fa248fd19e6542f3f7f7b454bf1c71/onyxframework/sql/pull/102 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8a51115a4ff9902c5e8087033464339654fa248fd19e6542f3f7f7b454bf1c71/onyxframework/sql/pull/102 |
| og:image:alt | Not sure whether this is the best way to do it. I added these so that I could write something like the following in a base model: module Models::Base # ... def before_insert @created_at =... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | qszhu |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/onyxframework/sql git https://github.com/onyxframework/sql.git |
| octolytics-dimension-user_id | 43681765 |
| octolytics-dimension-user_login | onyxframework |
| octolytics-dimension-repository_id | 104816583 |
| octolytics-dimension-repository_nwo | onyxframework/sql |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 104816583 |
| octolytics-dimension-repository_network_root_nwo | onyxframework/sql |
| 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 | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width