Forum: Ruby on Rails Two quick questions:

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
rwmlist (Guest)
on 2005-12-11 09:03
(Received via mailing list)
1) Does scaffolding (and in particular the show() method) do any
escaping of strings coming from the database? I did a quick check,
and it doesn't seem to (or possibly it only escapes "dangerous" code,
and it was smart enough to see that mine was not dangerous).

2) A lot of the documentation for testing seems to refer to an older
configuration. Now, out of the box, it expects you to use a
transactional database and does not create all the conveniance
instance variables. I've only found one online resource that
discusses this (not hosted on the RoR website). Is there any
"official" documentation to the new testing setup?

This topic is locked and can not be replied to.