Setting instance variables in Action Mailer?
I am wondering what is a clean and conventional way for setting instance variables in Mailers? Currently, I have re-defined the initialize method in Mailer and subsequently overwrite certain instance variables when needed in any mailers that inherit from Mailer . class Mailer < ActionMailer::Base attr_reader :ivar def initialize super @ivar = :blah ... end end This only seems weird to me because new is a private method for mailers. For example, if I were to try to retrieve these in the rails console, I need to do the following: mailer = Mailer.send(:new) mailer.ivar I have also considered