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 --skip-action-mailer (or -M) to rails generate #18288

merged 1 commit into from Jan 2, 2015


Copy link

@claudiob claudiob commented Jan 1, 2015

Stems from discussion at #5703 (comment) with @rafaelfranca

# Don't care if the mailer can't send.
config.action_mailer.raise_delivery_errors = false
<%- end -%>

Choose a reason for hiding this comment

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

This will leave 2 blank lines on the generated file, we can fix that by including one of them in the unless condition.


@claudiob claudiob force-pushed the add-skip-action-mailer branch from 82f2075 to b6f50b3 Jan 2, 2015
rafaelfranca added a commit that referenced this issue Jan 2, 2015
Add --skip-action-mailer (or -M) to rails generate
@rafaelfranca rafaelfranca merged commit ef877bb into rails:master Jan 2, 2015
1 check was pending
@claudiob claudiob deleted the add-skip-action-mailer branch Jan 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants