Rails 1.2 breaks url routing with dots?
This last week we’ve spent migrating Planypus from Rails 1.1.6 to the latest 1.2.1 release. Unfortunately the Rails 1.2 rewrite of the routing system leaves something to be desired. Apparently, the dot “.” (period) character is now considered a route separator, causing routes that have dots in them to break badly. Why is this bad? Well let’s say you were routing based on numbers, like lat/long coordinates..oops! Broken! Or, let’s say you were displaying users by their email (gmail has a prevalence of dots). Broken! I still love Rails, don’t get me wrong, but shouldn’t this sort of breakage be advertised just a little more loudly? Well here I am, yelling :-)










5 Comments