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. Any ideas? MikeP -- Posted via http://www.ruby-forum.com/.
2009/10/16 Mike Paddock <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>:> > 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.What does the log say? (log/development.log). Colin