[Rails-core] Default <%= to use the h (html safe) method.
David Heinemeier Hansson
david.heinemeier at gmail.com
Wed Feb 15 05:50:36 GMT 2006
> I can't help but think that by Rails 2.0, we'll think of this
> potential "feature" the same way as the PHP community thinks of magic
> quotes.
I agree. Trying to be too clever about this stuff is a sure fire way to agony.
But hey, don't let theories spoil the practice. Plugins are great for
trying out disruptive changes like that to see if it fits. And
considering the scale of such a change, there would be no way any of
these ideas would make it in anyway before proving themselves as a
widely used and cherished plugin.
So do get programming.
--
David Heinemeier Hansson
http://www.loudthinking.com -- Broadcasting Brain
http://www.basecamphq.com -- Online project management
http://www.backpackit.com -- Personal information manager
http://www.rubyonrails.com -- Web-application framework
More information about the Rails-core
mailing list