Skip to content

Extract DevelopmentMailInterceptor setup from config/environments/ - #198

Merged
tom93 merged 1 commit into
masterfrom
12-21-Extract_DevelopmentMailInterceptor_setup_from_config/environment
Dec 22, 2023
Merged

Extract DevelopmentMailInterceptor setup from config/environments/#198
tom93 merged 1 commit into
masterfrom
12-21-Extract_DevelopmentMailInterceptor_setup_from_config/environment

Conversation

@bagedevimo

Copy link
Copy Markdown
Contributor

This makes rails upgrades easier, as it means the diff between the
template-added is near-zero. There's no reason not to set this up here,
we just have to be a little careful about rails load order (use
Mail#register_interceptor instead of ActionMailer).

bagedevimo commented Dec 21, 2023

Copy link
Copy Markdown
Contributor Author

tom93
tom93 previously requested changes Dec 21, 2023

@tom93 tom93 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this missing the removal from config/environments/development.rb?

@bagedevimo
bagedevimo force-pushed the 12-21-Extract_DevelopmentMailInterceptor_setup_from_config/environment branch from 3c4986c to 88453ec Compare December 21, 2023 09:42
This makes rails upgrades easier, as it means the diff between the
template-added is near-zero. There's no reason not to set this up here,
we just have to be a little careful about rails load order (use
Mail#register_interceptor instead of ActionMailer).
@bagedevimo
bagedevimo force-pushed the 12-21-Extract_DevelopmentMailInterceptor_setup_from_config/environment branch from 88453ec to 8d27564 Compare December 21, 2023 09:44
@bagedevimo

Copy link
Copy Markdown
Contributor Author

Is this missing the removal from config/environments/development.rb?

Yes, lol. Fixed now.

@tom93
tom93 dismissed their stale review December 22, 2023 02:41

Issue fixed

@tom93 tom93 changed the title Extract DevelopmentMailInterceptor setup from config/environment/ Extract DevelopmentMailInterceptor setup from config/environments/ Dec 22, 2023
@tom93
tom93 merged commit 673f889 into master Dec 22, 2023
@tom93
tom93 deleted the 12-21-Extract_DevelopmentMailInterceptor_setup_from_config/environment branch December 22, 2023 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants