Hello:
I have found a whole lot of posts on this, however, none of them offer any sort of solution other than restarting the web server, which I can't imagine everyone out there developing on Rails is doing.
I am on page 40 of Agile Development with Rails 3rd edition and trying to get the missing template error to show but until I restart webrick I only get the following:
Processing ApplicationController#index (for ::1 at 2009-07-31 12:56:22) [GET]
ActionController::RoutingError (No route matches "/say/hello" with {:method=>:get}): /usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' /usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' /usr/local/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' /usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start' /usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' /usr/local/lib/ruby/1.8/webrick/server.rb:95:in `start' /usr/local/lib/ruby/1.8/webrick/server.rb:92:in `each' /usr/local/lib/ruby/1.8/webrick/server.rb:92:in `start' /usr/local/lib/ruby/1.8/webrick/server.rb:23:in `start' /usr/local/lib/ruby/1.8/webrick/server.rb:82:in `start'
Rendering rescues/layout (not_found)
I found this on the Pragmatic errata site for the book:
I'm really not sure what a non-deterministic bug is? Again, I can't believe everyone out there is restarting their web servers after they create each controller and view, are they?
#32023: I also got the above - When I run it: "Routing Error No route matches "/say/hello" with {:method=>:get}"
I had to restart mongrel to get the correct browser display. OS X 10.4.11 with uptodate rails (2.0.2) per pg 35
(Sam says: this is a non-deterministic bug in Rails. DHH is aware)-- rick Strang