One option is to use partials. Or you can set the @template field to the name of another action:
@template
class Mailer < ActionMailer::Base def foo subject "Hello World" end def bar subject "Hello Universe" @template = 'foo' end end
Your development team has a full backlog? No time for infrastructure architecture? Our DevOps team is ready to support you!