app development singapore,developers in singapore,ruby on rails developer singapore,web development company singapore,mobile app development singapore,website designer singapore,mobile apps development singapore,mobile apps singapore,web designer singapore,app developer singapore,web design company singapore,design firms in singapore,website developer singapore,singapore web development,singapore website design,singapore web design services,mobile application developer singapore,design agency singapore,android developer singapore,web application singapore,mobile application development singapore,mobile developer singapore,singapore mobile application developer,singapore web design,web design services singapore,graphic designer in singapore,website design singapore,singapore mobile app developer,ios developer singapore,mobile app developer singapore,website development singapore,web design singapore,web development singapore,developer in singapore,ios app development singapore,singapore app developer,mobile game developer singapore

Ruby on Rails 3 and escaped HTML

Rails 3 assumes that everything is NOT html safe (a change of opinion from Rails 2). Now, all strings are html escaped by default:

<%= h some_string %>

is now the same as

<%= some_string %>

To unescape the HTML (i.e you already know that the string is OK to render out), you need to mark it as html_safe or use keyword raw :

<%= some_string.html_safe %>
<%=raw some_string %>

Malcare WordPress Security