Anyone know if there’s something special required for code running
from Rake, e.g. resque jobs, to be able to see app mailer classes?
Access to model code is no problem, but anything that hits FooMailer,
for example, will throw uninitialized constant.
I gave task ‘resque:setup’ => [:environment] and rake environment …
a whirl but they don’t change behavior for mailers or models (the
latter are fine with and without it.)