It isn't clear, but it looks like he was going to the wrong url. As far as I know restarts are not required in development mode. If you are in production mode the functionality changes. The dynamic reload is turned off because the ability to dynamically reload slows things down a bit.
On 1/10/09, Jferg <[email protected]> wrote: > > Ummm the odd thing is older Ruby tutorials did not show this step... I > think I remember creating new controllers with Mongrel up and running > and everything could be found. Am I wrong here? Did we not have this > pre-Rails 2.0? > > On Dec 1 2008, 9:45 pm, Giri <[email protected]> wrote: >> Please disregard this. >> >> The server needed restart. >> >> On Dec 1, 6:31 pm, Giri <[email protected]> wrote: >> >> > I am trying to add new controller with "mavg_controller.rb" that has >> > the empty method "index". I get the following error when i try to >> > access the pagehttp://host/myuser/index >> >> > ActionController::RoutingError (No route matches "/mavg/index" with >> > {:method=>:get}): >> > /home/etrinit1/ruby/gems/gems/actionpack-2.1.2/lib/ >> > action_controller/routing/recognition_optimisation.rb:67:in >> > `recognize_path' >> > /home/etrinit1/ruby/gems/gems/actionpack-2.1.2/lib/ >> > action_controller/routing/route_set.rb:385:in `recognize' >> > /home/etrinit1/ruby/gems/gems/actionpack-2.1.2/lib/ >> > action_controller/dispatcher.rb:148:in `handle_request' >> > /home/etrinit1/ruby/gems/gems/actionpack-2.1.2/lib/ >> > action_controller/dispatcher.rb:107:in `dispatch' >> > /home/etrinit1/ruby/gems/gems/actionpack-2.1.2/lib/ >> > action_controller/dispatcher.rb:104:in `synchronize' >> > /home/etrinit1/ruby/gems/gems/actionpack-2.1.2/lib/ >> > action_controller/dispatcher.rb:104:in `dispatch' >> > /home/etrinit1/ruby/gems/gems/actionpack-2.1.2/lib/ >> > action_controller/dispatcher.rb:120:in `dispatch_cgi' >> > /home/etrinit1/ruby/gems/gems/actionpack-2.1.2/lib/ >> > action_controller/dispatcher.rb:35:in `dispatch' >> > /home/etrinit1/ruby/gems/gems/rails-2.1.2/lib/fcgi_handler.rb: >> > 103:in `process_request' >> > /home/etrinit1/ruby/gems/gems/rails-2.1.2/lib/fcgi_handler.rb: >> > 153:in `with_signal_handler' >> > /home/etrinit1/ruby/gems/gems/rails-2.1.2/lib/fcgi_handler.rb: >> > 101:in `process_request' >> > /home/etrinit1/ruby/gems/gems/rails-2.1.2/lib/fcgi_handler.rb: >> > 78:in `process_each_request' >> > /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:612:in >> > `each_cgi' >> > /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:609:in `each' >> > /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:609:in >> > `each_cgi' >> > /home/etrinit1/ruby/gems/gems/rails-2.1.2/lib/fcgi_handler.rb: >> > 77:in `process_each_request' >> > /home/etrinit1/ruby/gems/gems/rails-2.1.2/lib/fcgi_handler.rb: >> > 76:in `catch' >> > /home/etrinit1/ruby/gems/gems/rails-2.1.2/lib/fcgi_handler.rb: >> > 76:in `process_each_request' >> > /home/etrinit1/ruby/gems/gems/rails-2.1.2/lib/fcgi_handler.rb: >> > 50:in `process!' >> > /home/etrinit1/ruby/gems/gems/rails-2.1.2/lib/fcgi_handler.rb: >> > 24:in `process!' >> > dispatch.fcgi:24 >> >> > Rendering /home/etrinit1/ruby/gems/gems/actionpack-2.1.2/lib/ >> > action_controller/templates/rescues/layout.erb (not_found) >> >> > I dont know if this is a error due to the config changes required for >> > community_engine or if it a bug in actionpack. >> >> > Any help will be much appreciated. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CommunityEngine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/communityengine?hl=en -~----------~----~----~----~------~----~------~--~---
