Please disregard. This was my error. I had a field_error method in one
of my initializer classes as shown below:
ActionView::Base.field_error_proc = Proc.new do |html_tag, instance_tag|
if html_tag =~ /type="hidden"/ || html_tag =~ /<label/
html_tag
else
"<span class='field_error'>#{html_tag}</span>".html_safe
end
end
I had simply forgotten to mark the return string as html_safe.
I am going to sleep before I ask too many "dumb" questions.
Thanks.
Bharat
--
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.