Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add plugin to ignore ActionMailer::Preview classes #504

Merged
merged 1 commit into from Feb 6, 2024

Conversation

Korri
Copy link
Contributor

@Korri Korri commented Feb 2, 2024

New plugin that ignores all methods inside ActionMailer::Preview classes as they are all automatically made available by Rails in the previewer, but never otherwise referenced.

This won't work for classes multiple levels of inheriting down, but that's a limitation of spoon right now.

Created 2 follow up issues:

@Korri Korri requested a review from a team as a code owner February 2, 2024 18:53
@Korri Korri force-pushed the action-mailer-preview-plugin branch from 7f74d3f to 99aac22 Compare February 5, 2024 21:08
New plugin that ingores all methods inside ActionMailer::Preview classes
as they are all automatically made available by Rails in the previwer,
but never otherwise referenced.
@Korri Korri force-pushed the action-mailer-preview-plugin branch from 99aac22 to 4f0ff67 Compare February 6, 2024 14:22
@Korri Korri merged commit fbe86f8 into main Feb 6, 2024
8 checks passed
@Korri Korri deleted the action-mailer-preview-plugin branch February 6, 2024 14:59
@Morriar Morriar added enhancement New feature or request deadcode PRs and issues related to `spoom deadcode` labels Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deadcode PRs and issues related to `spoom deadcode` enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants