Yuri
unread,Aug 23, 2010, 10:56:44 PM8/23/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby on Rails: Talk
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.)