On 22 Oct 2008, at 14:20, Joshua Muheim wrote:

>
> Hi all
>
> I have some methods in application.rb and make them accessible to view
> using
>
> helper_method :xxx
>
> Sadly they don't seem to be available in mailer templates? Is that
> normal? Or did I miss something?
>
That's normal. ActionMailer classes don't inherit from  
ApplicationController so it is normal that the methods in there do not  
magically appear in ActionMailer instances/views.

Fred
> Thanks
> Josh
> -- 
> Posted via http://www.ruby-forum.com/.
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to