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

Remove action mailer dependency #2348

Merged
merged 3 commits into from
Mar 11, 2016
Merged

Conversation

erkde
Copy link
Contributor

@erkde erkde commented Mar 9, 2016

It doesn't appear smart answers uses any of the Rails mailer functionality, so this PR removes the requiring of the action_mailer gem that is in the project Gemfile.lock via the rails dependency, and removes the mailer related config and directory in the application.

For further detail regarding why action_mailer may exist in smart_answers (along with other gov.uk projects) see alphagov/frontend#930

@floehopper floehopper self-assigned this Mar 11, 2016
@floehopper
Copy link
Contributor

Other than my two minor suggestions, this looks good to me. 👍

@erkde erkde force-pushed the remove_action_mailer_dependency branch from 57c90fc to 0d2805b Compare March 11, 2016 15:53
erkde added 3 commits March 11, 2016 15:53
Even though the Gemfile.lock includes action_mailer as part of the
Rails dependency, we don’t have to load it and can save a little memory
by not doing so.
@erkde erkde force-pushed the remove_action_mailer_dependency branch from 0d2805b to f35a7fe Compare March 11, 2016 15:53
@erkde
Copy link
Contributor Author

erkde commented Mar 11, 2016

Have just rebased this with master

erkde pushed a commit that referenced this pull request Mar 11, 2016
@erkde erkde merged commit 706f7bf into master Mar 11, 2016
@erkde erkde deleted the remove_action_mailer_dependency branch March 11, 2016 15:57
@erkde erkde restored the remove_action_mailer_dependency branch March 11, 2016 17:12
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