# Routing error after upgrading from 1.1 to 1.2

**URL:** <https://www.ruby-forum.com/t/routing-error-after-upgrading-from-1-1-to-1-2/121562>\
**Category:** Rails\
**Created:** [November 28, 2007, 10:59pm UTC](https://www.ruby-forum.com/t/routing-error-after-upgrading-from-1-1-to-1-2/121562 "2007-11-28T22:59:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![syg6](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/439d5e/32.png) [@syg6](https://www.ruby-forum.com/u/syg6)\
**Post date:** [November 28, 2007, 10:59pm UTC](https://www.ruby-forum.com/t/routing-error-after-upgrading-from-1-1-to-1-2/121562/1 "2007-11-28T22:59:08Z")

</div>

I’ve just upgraded to the newest version of rails and was testing my  
existing code and ran into an odd error.

I have a few ajax calls, and in one section I let users add and remove  
jobs from a list. For some reason, if you select a job of 1234 it  
works, but 1234.01 fails. The error also occurs in other areas of the  
app when you select these jobs.

(from firebug)  
Routing Error  
no route found to match “/configure/modify/deleteJ\_5384.01”

And the rails log:

ActionController::RoutingError (no route found to match  
“/configure/modifyCrew/deleteJ\_5384.01” with {:method=\>:post}):  
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action\_controller/routing.rb:1325:in  
`recognize_path' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/routing.rb:1315:in`recognize’  
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.5/lib/dispatcher.rb:40:in  
`dispatch' /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.1/bin/../lib/mongrel/rails.rb:76:in`process’  
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.1/bin/…/lib/mongrel/rails.rb:74:in  
`synchronize' /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.1/bin/../lib/mongrel/rails.rb:74:in`process’  
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.1/bin/…/lib/mongrel.rb:155:in  
`process_client' /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.1/bin/../lib/mongrel.rb:154:in`each’  
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.1/bin/…/lib/mongrel.rb:154:in  
`process_client' /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.1/bin/../lib/mongrel.rb:281:in`run’  
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.1/bin/…/lib/mongrel.rb:281:in  
`initialize' /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.1/bin/../lib/mongrel.rb:281:in`new’  
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.1/bin/…/lib/mongrel.rb:281:in  
`run' /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.1/bin/../lib/mongrel.rb:264:in`initialize’  
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.1/bin/…/lib/mongrel.rb:264:in  
`new' /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.1/bin/../lib/mongrel.rb:264:in`run’  
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.1/bin/…/lib/mongrel/configurator.rb:282:in  
`run' /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.1/bin/../lib/mongrel/configurator.rb:281:in`each’  
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.1/bin/…/lib/mongrel/configurator.rb:281:in  
`run' /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.1/bin/mongrel_rails:128:in`run’  
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.1/bin/…/lib/mongrel/command.rb:212:in  
`run' /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.1/bin/mongrel_rails:281 /usr/local/bin/mongrel_rails:16:in`load’  
/usr/local/bin/mongrel\_rails:16

Has anyone else had issues like this? I can rewrite my code to get  
around this (sub 'A’s for periods or something then replace them back  
out) but it seems like a crap way of going about it. Like I said, its  
fine when jobs don’t have the periods

Bob
