Hi Kieran,
Thanks for that. The raw option worked. I will file a ticket on the
rails lighthouse.
On 16 April 2010 20:59, Kieran P wrote:
> Hey Paul,
>
> That javascript looks correct. mail_to should return an html_safe
> string. Escaped html indicates it isn't.
>
> So if the problem is that the
Hey Paul,
That javascript looks correct. mail_to should return an html_safe
string. Escaped html indicates it isn't.
So if the problem is that the html is being escaped, then this is a
bug. file a ticket on the rails lighthouse.
To get around the bug, use <%=raw mail_to(...) %> or <%=
mail_to(
On 15/04/2010 21:27, Paul Jonathan Thompson wrote:
> On 16 April 2010 03:40, Joe Smith wrote:
>>
>> "Paul Jonathan Thompson" wrote in message
>> news:h2p603755611004142229h2d4f7013pde4320967c722...@mail.gmail.com...
>>>
>>> I have just started up grading to Rails 3. mail_to no longer works,
>>> y
On 16 April 2010 03:40, Joe Smith wrote:
>
> "Paul Jonathan Thompson" wrote in message
> news:h2p603755611004142229h2d4f7013pde4320967c722...@mail.gmail.com...
>>
>> I have just started up grading to Rails 3. mail_to no longer works,
>> you just get a lot of garbage. With what do I replace it?
>>
"Paul Jonathan Thompson"
wrote in message
news:h2p603755611004142229h2d4f7013pde4320967c722...@mail.gmail.com...
I have just started up grading to Rails 3. mail_to no longer works,
you just get a lot of garbage. With what do I replace it?
The mail_to helper is still present in edge Rails,
5 matches
Mail list logo