# ActionController::RoutingError (No route matches "/say/hello" with {:method=\>:get}):

**URL:** <https://www.ruby-forum.com/t/actioncontroller-routingerror-no-route-matches-say-hello-with-method-get/173041>\
**Category:** Rails\
**Created:** [July 31, 2009, 9:33pm UTC](https://www.ruby-forum.com/t/actioncontroller-routingerror-no-route-matches-say-hello-with-method-get/173041 "2009-07-31T21:33:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/958977/32.png) [@chris](https://www.ruby-forum.com/u/chris)\
**Post date:** [July 31, 2009, 9:33pm UTC](https://www.ruby-forum.com/t/actioncontroller-routingerror-no-route-matches-say-hello-with-method-get/173041/1 "2009-07-31T21:33:50Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![chris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/958977/32.png) [@chris](https://www.ruby-forum.com/u/chris)\
**Post date:** [July 31, 2009, 10:49pm UTC](https://www.ruby-forum.com/t/actioncontroller-routingerror-no-route-matches-say-hello-with-method-get/173041/2 "2009-07-31T22:49:20Z")

</div>

On Jul 31, 3:13 pm, Chris [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> 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?

Non deterministic means is a fancy way of saying that it happens  
randomly. I have seen this at times, but only ever when adding new  
controllers (ie adding actions to existing controllers never seems to  
do this) and never when the new controller had restful routes  
involved. Between those two that’s the vast majority of my changes  
covered without a restart

Fred

---

<div class="post-metadata">

**Author:** ![chris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/958977/32.png) [@chris](https://www.ruby-forum.com/u/chris)\
**Post date:** [August 3, 2009, 6:19pm UTC](https://www.ruby-forum.com/t/actioncontroller-routingerror-no-route-matches-say-hello-with-method-get/173041/3 "2009-08-03T18:19:42Z")

</div>

Thank you for your reply. I guess I will have to live with it when I  
am adding new controllers without “restful routes” (not sure what that  
is but I’m about to go look now!).

I guess for someone who was looking for a change from Tomcat and Java  
and was really exited about not having to restart his container, this  
seemed to be a real show stopper, but if as you say the vast majority  
of your changes are covered without a restart then I’ll be back on my  
Rails journey after my vacation!

Thanks a million

On Jul 31, 4:47 pm, Frederick C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
