Philip Hallstrom wrote:

> def my_helper
>   "<h2>my unsafe string</h2>".html_safe!
> end
> 
> See http://weblog.rubyonrails.org/2009/10/12/what-s-new-in-edge-rails

I'm not running edge rails, I'm running Rails 2.3.8.

There is no html_safe! method defined, so this won't work.
-- 
Posted via http://www.ruby-forum.com/.

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to