thank you for the enlightenment, it does clarify bunch of things
the reason I need the URL encoding not to be done, is because I pass
the url_for results to javascript code, and some part of the url is
javascript that gets evaluated to then become a valid URI.
so I decided to do something like this url_for(:action => 'foo', :id =>
'__js__').gsub('__js__', js)
which works like I want, but I thought I could just pass an option to
url_for instead of the gsub
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Core" 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-core
-~----------~----~----~----~------~----~------~--~---