We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
$ rails g mailer
layouts/mailer
When I run $ rails generate mailer UserMailer account_activation password_reset
$ rails generate mailer UserMailer account_activation password_reset
on a rails app with no slim-rails:
create app/mailers/user_mailer.rb create app/mailers/application_mailer.rb invoke erb create app/views/user_mailer create app/views/layouts/mailer.text.erb create app/views/layouts/mailer.html.erb create app/views/user_mailer/account_activation.text.erb create app/views/user_mailer/account_activation.html.erb create app/views/user_mailer/password_reset.text.erb create app/views/user_mailer/password_reset.html.erb invoke test_unit create test/mailers/user_mailer_test.rb create test/mailers/previews/user_mailer_preview.rb
with slim-rails:
create app/mailers/user_mailer.rb create app/mailers/application_mailer.rb invoke slim create app/views/user_mailer create app/views/user_mailer/account_activation.text.slim create app/views/user_mailer/password_reset.text.slim invoke test_unit create test/mailers/user_mailer_test.rb create test/mailers/previews/user_mailer_preview.rb
Missing are:
create app/views/layouts/mailer.text.slim create app/views/layouts/mailer.html.slim create app/views/user_mailer/account_activation.html.slim create app/views/user_mailer/password_reset.html.slim
Any specific reason why, or a setting that I may have overlooked?
The only setting I have is:
Slim::Engine.set_options pretty: true, sort_attrs: false
in environments/development.rb
environments/development.rb
The text was updated successfully, but these errors were encountered:
I can confirm the problem. Nobody to merge the pull request?
Sorry, something went wrong.
Merge pull request #96 from mbrand12/fix/mailer-gen-rails-42
b6dacb5
Fix/mailer gen rails 4.2 from #95
merged and released as 3.1.0.
No branches or pull requests
When I run
$ rails generate mailer UserMailer account_activation password_reset
on a rails app with no slim-rails:
with slim-rails:
Missing are:
Any specific reason why, or a setting that I may have overlooked?
The only setting I have is:
in
environments/development.rb
The text was updated successfully, but these errors were encountered: