Changin of & to &

i have in varible people-&-culture
want to show it people-&-culture
any special function to change in to html except gsub()

On Sun, Apr 4, 2010 at 5:12 AM, Rahul M. [email protected]
wrote:

i have in varible people-&-culture
want to show it people-&-culture
any special function to change in to html except gsub()

Use h(variable), a helper method available in your views for html
escaping.