Rails 3 and html escaping
before Rails 3 you had to do the following to escape html
<%=h @user.name%>
but after Rails 3 the html is escaped by default so if you just wrote
<%= @user.name%>
the html is escaped by it's own
to unescape html in Rails 3 you have to do the following
<%= @user.name.html_safe%>












