Rails 3 RC: Access Mailer classes from rake task?

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.)

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs