James, Thanks for good links. I googled around but was unable to find these :-)
I've used the solution of the first link in [734]. Made a comment that this route does not support .xml or .js or any other format. Since trunk before 734 didn't support it anyway, I thought that it's ok. The second link I found less obvious for #655 because AFAICS it assumes that you know where the dots are in the tag. But if someone has a better solution, please let me know. Reinier On Tue, Mar 11, 2008 at 7:21 PM, James Kebinger <[EMAIL PROTECTED]> wrote: > Looks like one just has to hack at the route definition to get this to work > fine. > > There's a (translated from chinese) article about this : > http://translate.google.com/translate?hl=en&sl=zh-CN&u=http://jack.lifegoo.com/%3Fp%3D159&sa=X&oi=translate&resnum=1&ct=result&prev=/search%3Fq%3Drails%2Brouting%2Bdots%26hl%3Den%26safe%3Doff%26client%3Dfirefox-a%26rls%3Dorg.mozilla:en-US:official%26hs%3DyBo > > This page > http://wiki.rubyonrails.com/rails/pages/HowToRouteGenericURLsToAController > better specifies how one could specify the name of a tag that could include > dots. You'd have to be careful that one could still use the convention of > specifying the format of the result at the end of the url though like > /todo/tag/release1.5.xml or /todo/tag/release1.5.js > > > > On Tue, Mar 11, 2008 at 8:51 AM, Reinier Balt <[EMAIL PROTECTED]> wrote: > > > > > > > > Hi > > > > In ticket 655 (http://dev.rousette.org.uk/ticket/655) there is a > > report that tracks cannot handle tags with a dot in it. For example > > /todos/tag/release1.5 will fail because rails cannot route this url. > > According to rails documentation of routes, a dot is parsed as a token > > / delimiter instead of including it as a parameter. > > > > I remember that for similar reasons (?) we went from project names to > > project id's for viewing an individual project. > > > > I personally like the tag name in the URL a lot. Is there a way that > > you know of to be able to handle /todo/tag/release1.5 > > > > Regards, > > > > Reinier > > _______________________________________________ > > Tracks-discuss mailing list > > [email protected] > > http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss > > > > _______________________________________________ Tracks-discuss mailing list [email protected] http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss
