Re: [Rails] Re: How to replace mail_to in Rails 3?

2010-04-16 Thread Paul Jonathan Thompson
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

[Rails] Re: How to replace mail_to in Rails 3?

2010-04-16 Thread Kieran P
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(

Re: [Rails] Re: How to replace mail_to in Rails 3?

2010-04-15 Thread Matt Harrison
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

Re: [Rails] Re: How to replace mail_to in Rails 3?

2010-04-15 Thread Paul Jonathan Thompson
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? >>

[Rails] Re: How to replace mail_to in Rails 3?

2010-04-15 Thread Joe Smith
"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,