Inconsistent file name suffix on mailer generator

Is there a reason why mailers created through generators don’t have a “_mailer” suffix ?

https://github.com/rails/rails/blob/master/actionmailer/lib/rails/generators/mailer/mailer_generator.rb#L10

I find it somewhat confusing that controllers and jobs follow this convention, but mailers don’t.

  • Carlos Souza

I don’t particularly see any problem on adding the mailer suffix to the generated file, and in fact Rails 5 might be the best release for doing so.