Forum: Ruby on Rails Re: html special char conversion

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
6e673be17e324bcf844bacdf925e22f5?d=identicon&s=25 Mikhail Shevchuk (Guest)
on 2006-01-25 19:25
(Received via mailing list)
Ok, I've solved that after doing something that I can't understand:
I've removed 'h' symbol from the beginning of this string: "<%=h
cpu.send(column.name) %>"
It is still interesting what I've done :)
Ad7805c9fcc1f13efc6ed11251a6c4d2?d=identicon&s=25 Alex Young (Guest)
on 2006-01-25 19:28
(Received via mailing list)
Mikhail Shevchuk wrote:
> Ok, I've solved that after doing something that I can't understand:
> I've removed 'h' symbol from the beginning of this string: "<%=h
> cpu.send(column.name) %>"
> It is still interesting what I've done :)
The h is an alias for html_escape, if that makes things any clearer...
C0a32d16cf74103a6b8f31105cb04875?d=identicon&s=25 Mikhail Shevchuk (Guest)
on 2006-01-25 19:34
(Received via mailing list)
On Wed, 25 Jan 2006 18:30:28 +0000
Alex Young <alex@blackkettle.org> wrote:

> Mikhail Shevchuk wrote:
> > Ok, I've solved that after doing something that I can't understand:
> > I've removed 'h' symbol from the beginning of this string: "<%=h
> > cpu.send(column.name) %>"
> > It is still interesting what I've done :)
> The h is an alias for html_escape, if that makes things any clearer...

Yes, thanks. Where can I read about other aliases?
This topic is locked and can not be replied to.