Forum: Ruby on Rails Question:"no route found to match"

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
E63a86790975d72bd5370f93c9b9b1ad?d=identicon&s=25 Zhang Zico (zico)
on 2007-03-13 14:38
in my routes.rb, I have such url
 map.file  ':user/:file
it works well with following url:
 1. jay/web
 2. jay/web2
but it encounters error with:
it displays : no route found to match "/post/web2.o" with
I guess it is because the char '.' and rails can not translate it
How can I fix it ?
thank you
This topic is locked and can not be replied to.