search for: escape_text

Displaying 1 result from an estimated 1 matches for "escape_text".

Did you mean: escape_tests
2010 Nov 20
0
Enabling preprocessing in Erubis makes views much faster
...//gist.github.com/707461 module ActionView class Base def get_binding;return binding;end end class Template module Handlers class Erubis < ::Erubis::Eruby def add_expr_debug(src, code) src << "@output_buffer.safe_concat(''" << escape_text(eval(code,ActionView::Base.new.get_binding).to_s) << "'');" end end end end end -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JY...