Russell L. Carter
2005-May-08 02:07 UTC
html escaping user supplied strings with CollectionTable and Builder::XmlMarkup
Hi, What is the *right* way to use something like the CollectionTable for automating generation of tables from Enumerable''s while html escaping the data, and generating markup using XmlMarkup? I must be blind because I don''t see how this is done in e.g. eXPlainPMT which I am using for my best practices tutorial. xml << mytable.build_table just returns whatever it gets, literally, from the db, right? BTW, I''m *really* enjoying the design of RoR; I was victimized by a legacy 1000 line jsp file with no language discipline *at all* last fall and I think I finally got the last laugh... magnifico! Best, Russell