My (Rails 3) routes.rb has the following entry:
resources :articles, :path => "記事"
This works in my production environment, as passenger unescapes the
path from /%E8%A8%98%E4%BA%8B to /記事.
However, in my development environment, I''m using Mongrel, which does
not unescape the path, so it does not work unless I change my routes
to
resources :articles, :path => Rack::Utils.escape("記事")
I''m trying to figure out which component has the bug. Any
suggestions?
---
Paul McMahon
mobalean LLC - Japanese Mobile Development and Consulting
http://www.mobalean.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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.