On Jan 30, 2011, at 2:05 PM, Jeff Miller wrote:
...
content_tag("div", "#{label} #{form_field}".html_safe!, :class =>
"form_row")
...
gives me the error: You can't call html_safe! on a String.
Obviously I'm doing this wrong... where should I place html_safe! ?
Thanks,
- Jeff Miller
It's just .html_safe (no ! on it)
-Rob
Rob Biedenharn
[email protected] http://AgileConsultingLLC.com/
[email protected] http://GaslightSoftware.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.