I am using Rails 3.0.3. I tried using all of the methods in the multiple questions on this site that were this question, but I still can’t seem to access my helper methods from my mailer. I tried using the ‘helper :application’ as follows:
class MyMailer < ActionMailer::Base
default :from => "lalala@lalala.com>"
helper :application
end
I also tried ‘helper ApplicationHelper’ as well as ‘add_template_helper(ApplicationHelper)’. There is nothing wrong with the helper methods which work just fine for views. Is there something I am missing? Maybe a line in the mailer setup file or something? Thanks so much in advance.
1 Answer