Permalink
Browse files

It's called Rack::Utils.escape now

  • Loading branch information...
1 parent d09da35 commit ae8a5bc323f15444b82539c921d697ae0170bba9 @cypher cypher committed Mar 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 faq.markdown
View
@@ -222,7 +222,7 @@ in your helpers and create an `h` alias as follows:
helpers do
include Rack::Utils
- alias_method :h, :escape_html
+ alias_method :h, :escape
end
Now you can escape html in your templates like this:

0 comments on commit ae8a5bc

Please sign in to comment.