ActionMailer bug?


#1

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?