gamecreature in Hacking | 29 January, 2008 Using the h method in a controller / model The h method you use in a Ruby on Rail View, isn't available in a model or in a controller. That's very frustrating. An alternative method to use is: CGI::escapeHTML( string_to_escape ) gamecreature Published 29 January, 2008