I have a drop down using collection_select
<%= form.collection_select(:country,@countries, :name, :name,options
={:prompt => t('services.req_form.country_prompt')}, :escape => false )
%>
I read somewhere that putting :escape => false in the options would
disable character escaping.
This does not seem to work. I am using the unicode values for french
accents and need to display the accent. However Rails helper escapes the
ampersand so I get the wrong code "&" instead of "&".
How can I stop this from happening.
Thanks
--
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.