{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":721882114,"defaultBranch":"main","name":"cascade-deleter","ownerLogin":"Victorcorcos","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2023-11-22T01:07:27.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/7637806?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1701134011.0","currentOid":""},"activityList":{"items":[{"before":"b0b5d7c6309a49fc7f1fe425c9cccfdbdd0bd66c","after":"370718a5f0ce87becb5e1db24792268b6aafd460","ref":"refs/heads/main","pushedAt":"2023-11-28T01:18:02.000Z","pushType":"pr_merge","commitsCount":4,"pusher":{"login":"Victorcorcos","name":"Victor Cordeiro Costa","path":"/Victorcorcos","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7637806?s=80&v=4"},"commit":{"message":"Update README with except (#2)\n\n# Description ✍️ \r\n\r\nUpdate `README` with the usage part of the `except` parameter\r\n\r\n### Usage ②\r\n**Hard** Delete of inactive Projects by skipping some classes\r\n\r\n```rb\r\nCascadeDeleter.new(Project.unscoped.where(active: false)).delete_all(\r\n except: ['Audited::Audit', 'Picture', 'Attachment']\r\n)\r\n```","shortMessageHtmlLink":"Update README with except (#2)"}},{"before":"ce666f71d658504a9f1a5e9113fed6b2a1702648","after":"acbb7e9f9cf352afee392430825433e7637ec90c","ref":"refs/heads/update_readme","pushedAt":"2023-11-28T01:17:29.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Victorcorcos","name":"Victor Cordeiro Costa","path":"/Victorcorcos","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7637806?s=80&v=4"},"commit":{"message":"Upgrade binaries","shortMessageHtmlLink":"Upgrade binaries"}},{"before":null,"after":"ce666f71d658504a9f1a5e9113fed6b2a1702648","ref":"refs/heads/update_readme","pushedAt":"2023-11-28T01:13:31.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"Victorcorcos","name":"Victor Cordeiro Costa","path":"/Victorcorcos","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7637806?s=80&v=4"},"commit":{"message":"Update README with except","shortMessageHtmlLink":"Update README with except"}},{"before":"954031f16ecc716a08d768aa38701c12d24b294d","after":null,"ref":"refs/heads/skip_models_during_cascade_deletion","pushedAt":"2023-11-28T01:10:55.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"Victorcorcos","name":"Victor Cordeiro Costa","path":"/Victorcorcos","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7637806?s=80&v=4"}},{"before":"4e285de4fc4ceb7cbc361448d69643c490236d15","after":"b0b5d7c6309a49fc7f1fe425c9cccfdbdd0bd66c","ref":"refs/heads/main","pushedAt":"2023-11-28T01:09:22.000Z","pushType":"pr_merge","commitsCount":7,"pusher":{"login":"Victorcorcos","name":"Victor Cordeiro Costa","path":"/Victorcorcos","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7637806?s=80&v=4"},"commit":{"message":"Skip models during cascade deletion (#1)\n\n# Description ✍️ \r\n\r\nAllow `CascadeDelete` to skip classes during deletion via the `except` parameter\r\n\r\n# Usage ✋ \r\n\r\n```rb\r\nCascadeDeleter.new(ProgressService.where(id: [ProgressService.first.id])).delete_all(\r\n except: ['Audited::Audit', 'Picture', 'Attachment']\r\n)\r\n```","shortMessageHtmlLink":"Skip models during cascade deletion (#1)"}},{"before":"82d173e7b0a33cc085ea804c22380a1e32adf5e5","after":"954031f16ecc716a08d768aa38701c12d24b294d","ref":"refs/heads/skip_models_during_cascade_deletion","pushedAt":"2023-11-28T01:08:51.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"Victorcorcos","name":"Victor Cordeiro Costa","path":"/Victorcorcos","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7637806?s=80&v=4"},"commit":{"message":"Merge branch 'main' into skip_models_during_cascade_deletion","shortMessageHtmlLink":"Merge branch 'main' into skip_models_during_cascade_deletion"}},{"before":null,"after":"82d173e7b0a33cc085ea804c22380a1e32adf5e5","ref":"refs/heads/skip_models_during_cascade_deletion","pushedAt":"2023-11-28T01:06:17.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"Victorcorcos","name":"Victor Cordeiro Costa","path":"/Victorcorcos","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7637806?s=80&v=4"},"commit":{"message":"Update comments","shortMessageHtmlLink":"Update comments"}},{"before":"b8fafb4807a89bd37dec16ade2d246d13815276b","after":"4e285de4fc4ceb7cbc361448d69643c490236d15","ref":"refs/heads/main","pushedAt":"2023-11-22T22:58:16.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Victorcorcos","name":"Victor Cordeiro Costa","path":"/Victorcorcos","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7637806?s=80&v=4"},"commit":{"message":"Create LICENSE","shortMessageHtmlLink":"Create LICENSE"}},{"before":"730ff8c7128868cdb0193927e466273f4f27bd56","after":"b8fafb4807a89bd37dec16ade2d246d13815276b","ref":"refs/heads/main","pushedAt":"2023-11-22T15:06:35.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"Victorcorcos","name":"Victor Cordeiro Costa","path":"/Victorcorcos","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7637806?s=80&v=4"},"commit":{"message":"Update README\n\nUpdate REAMDE","shortMessageHtmlLink":"Update README"}},{"before":"c0e831859f72a3ada57de3aff99e4b5ae1513e45","after":"730ff8c7128868cdb0193927e466273f4f27bd56","ref":"refs/heads/main","pushedAt":"2023-11-22T14:59:22.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Victorcorcos","name":"Victor Cordeiro Costa","path":"/Victorcorcos","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7637806?s=80&v=4"},"commit":{"message":"Update README","shortMessageHtmlLink":"Update README"}},{"before":"11ec342de0867d9a37e1676fe02ab1a9e65bd723","after":"c0e831859f72a3ada57de3aff99e4b5ae1513e45","ref":"refs/heads/main","pushedAt":"2023-11-22T14:55:28.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Victorcorcos","name":"Victor Cordeiro Costa","path":"/Victorcorcos","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7637806?s=80&v=4"},"commit":{"message":"Add comparison with Rails \"dependent: :delete\" way to do cascade deletion","shortMessageHtmlLink":"Add comparison with Rails \"dependent: :delete\" way to do cascade dele…"}},{"before":"7bb5c7f22529195d9cde87e43105c9693fe84d68","after":"11ec342de0867d9a37e1676fe02ab1a9e65bd723","ref":"refs/heads/main","pushedAt":"2023-11-22T03:08:53.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"Victorcorcos","name":"Victor Cordeiro Costa","path":"/Victorcorcos","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7637806?s=80&v=4"},"commit":{"message":"Update README\n\nUpdate README\n\nUpdate README\n\nUpdate README\n\nUpdate README","shortMessageHtmlLink":"Update README"}},{"before":"b15ec51284deab974b4d1152bec820a01fcfa0a2","after":"7bb5c7f22529195d9cde87e43105c9693fe84d68","ref":"refs/heads/main","pushedAt":"2023-11-22T03:08:29.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"Victorcorcos","name":"Victor Cordeiro Costa","path":"/Victorcorcos","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7637806?s=80&v=4"},"commit":{"message":"Update README\n\nUpdate README\n\nUpdate README\n\nUpdate README","shortMessageHtmlLink":"Update README"}},{"before":"4ed8d5a3b2d15ba14eee3cc04dff75cd6996de39","after":"b15ec51284deab974b4d1152bec820a01fcfa0a2","ref":"refs/heads/main","pushedAt":"2023-11-22T03:07:55.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"Victorcorcos","name":"Victor Cordeiro Costa","path":"/Victorcorcos","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7637806?s=80&v=4"},"commit":{"message":"Update README\n\nUpdate README\n\nUpdate README","shortMessageHtmlLink":"Update README"}},{"before":"028e84817a66df3723dc115eadb8a2f7f91619f4","after":"4ed8d5a3b2d15ba14eee3cc04dff75cd6996de39","ref":"refs/heads/main","pushedAt":"2023-11-22T03:07:25.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Victorcorcos","name":"Victor Cordeiro Costa","path":"/Victorcorcos","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7637806?s=80&v=4"},"commit":{"message":"Update README","shortMessageHtmlLink":"Update README"}},{"before":"acdefb4f1aa20a60904aa85089be822dc51fe034","after":"028e84817a66df3723dc115eadb8a2f7f91619f4","ref":"refs/heads/main","pushedAt":"2023-11-22T03:01:36.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Victorcorcos","name":"Victor Cordeiro Costa","path":"/Victorcorcos","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7637806?s=80&v=4"},"commit":{"message":"Update README","shortMessageHtmlLink":"Update README"}},{"before":null,"after":"acdefb4f1aa20a60904aa85089be822dc51fe034","ref":"refs/heads/main","pushedAt":"2023-11-22T02:57:13.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"Victorcorcos","name":"Victor Cordeiro Costa","path":"/Victorcorcos","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7637806?s=80&v=4"},"commit":{"message":"Move CascadeDeleter to this gem","shortMessageHtmlLink":"Move CascadeDeleter to this gem"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAADuU_9hQA","startCursor":null,"endCursor":null}},"title":"Activity · Victorcorcos/cascade-deleter"}