Ending a Rails 2 URL with an IP address causes routing error?
- by Dave Williams
I'm trying to construct URLs in the format http://servername/find/by/CRITERION/VALUE
CRITERION is a finite set of strings, as is VALUE. Trouble is, VALUE needs to be an IP address in some situations, and it's causing me a routing error.
Here's my route:
map.find 'find/by/:criterion/:query', :controller => "find", :action => "by"
And…