The following route:
map.connect ‘/adjust’, :controller => ‘inventory’, :action => ‘adjust’
is failing to call the ‘adjust’ method in ‘inventory_controller.rb’,
demonstrated by the first line of the method, a puts statement, never
outputting to the console. The console shows the route being found, and
the corresponding adjust.rjs file is getting called, but none of the
variables that would have been set in the ‘adjust’ method exist, so
errors are thrown there.
I’ve renamed everything a couple time to make sure I don’t have any
magic names causing problems and to make sure I don’t have routing
conflicts, but nothing seems to help.