# \[Rails\] How to debug "no route to..."

**URL:** <https://www.ruby-forum.com/t/rails-how-to-debug-no-route-to/115331>\
**Category:** Ruby\
**Created:** [September 24, 2007, 3:21am UTC](https://www.ruby-forum.com/t/rails-how-to-debug-no-route-to/115331 "2007-09-24T03:21:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Miss\_Elaine\_E](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/b3f665/32.png) [@Miss\_Elaine\_E](https://www.ruby-forum.com/u/Miss_Elaine_E)\
**Post date:** [September 24, 2007, 3:21am UTC](https://www.ruby-forum.com/t/rails-how-to-debug-no-route-to/115331/1 "2007-09-24T03:21:28Z")

</div>

I’m new to Ruby/Rails and doing pretty well and liking it a lot.  
However, deep into one of the tutorials, I was feeling so confident that  
I went several pages (read: hours) without double-checking that my  
changes were still working. When I finally got to the part where I  
thought “ok, I better check on this and see how it’s looking”, I got

Routing Error:  
no route found to match “myapp” with {:method=\>:get…

etc.

(I’m OS X 10.4.9, up to date Ruby/Rails/Gems and Safari/FF/OmniWeb  
browsers.)

I figure it’s some simple thing that I changed or left out – but what I  
can’t figure out is how do I determine WHICH simple thing I changed or  
left out?

So: I’m not asking you to debug this one for me, I’m asking how do I go  
about debugging this somewhat vague-seeming message?

Thanks!

---

<div class="post-metadata">

**Author:** ![Miss\_Elaine\_E](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/b3f665/32.png) [@Miss\_Elaine\_E](https://www.ruby-forum.com/u/Miss_Elaine_E)\
**Post date:** [September 24, 2007, 3:42am UTC](https://www.ruby-forum.com/t/rails-how-to-debug-no-route-to/115331/2 "2007-09-24T03:42:30Z")

</div>

Quoth Miss Elaine E.:

> Thanks!  
> You might try the RoR mailing list / forum on rubyforum.  
> (Sorry, I love ruby, but know nothing about Rails.)

Regards,

---

<div class="post-metadata">

**Author:** ![Miss\_Elaine\_E](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/b3f665/32.png) [@Miss\_Elaine\_E](https://www.ruby-forum.com/u/Miss_Elaine_E)\
**Post date:** [September 24, 2007, 5:58am UTC](https://www.ruby-forum.com/t/rails-how-to-debug-no-route-to/115331/3 "2007-09-24T05:58:27Z")

</div>

Miss Elaine E. wrote:

> I’m new to Ruby/Rails and doing pretty well and liking it a lot.  
> However, deep into one of the tutorials, I was feeling so confident that  
> I went several pages (read: hours) without double-checking that my  
> changes were still working. When I finally got to the part where I  
> thought “ok, I better check on this and see how it’s looking”, I got
> 
> Routing Error:  
> no route found to match “myapp” with {:method=\>:get…
> 
> etc.
> 
> (I’m OS X 10.4.9, up to date Ruby/Rails/Gems and Safari/FF/OmniWeb  
> browsers.)
> 
> I figure it’s some simple thing that I changed or left out – but what I  
> can’t figure out is how do I determine WHICH simple thing I changed or  
> left out?
> 
> So: I’m not asking you to debug this one for me, I’m asking how do I go  
> about debugging this somewhat vague-seeming message?
> 
> Thanks!

Hi,

Check to make sure you have a myapp\_controller.rb… The error message  
is stating that Rails cannot find your controller class.

David B. Williams  
[http://www.cybersprocket.com](http://www.cybersprocket.com)
