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.

On Tue, Dec 16, 2014 at 7:23 PM, Carlos Souza <carloshrso...@gmail.com>
wrote:
>
> 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
> <https://github.com/rails/rails/blob/master/railties/lib/rails/generators/rails/controller/controller_generator.rb#L10>
> and jobs
> <https://github.com/rails/rails/blob/master/activejob/lib/rails/generators/job/job_generator.rb#L19>
> follow this convention, but mailers don't.
>
> - Carlos Souza
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Core" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rubyonrails-core+unsubscr...@googlegroups.com.
> To post to this group, send email to rubyonrails-core@googlegroups.com.
> Visit this group at http://groups.google.com/group/rubyonrails-core.
> For more options, visit https://groups.google.com/d/optout.
>


-- 
At.
Carlos Antonio

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-core+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at http://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.

Reply via email to