ActionMailer bug?

J. mp
Tue, 27 Feb 2007 01:34:31 -0000

Hi there,

I think I just found a bug in ActionMailer templates.

If in my email template I have in my fisrt line:

Hi <%=@user.name%>

rest of email
...


When I receive the email I get :


Hi <%=@user.name%>


But if I put the <%=@user.name%> in second line it works and replace the
<%=@user.name%> for the user.name value

Now I have to put in my template the following:

Hi

<%=@user.name%>,

rest of email

Is this a bug?

--
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---