# No route found to match "/controller" with {:method=\>:get}

**URL:** <https://www.ruby-forum.com/t/no-route-found-to-match-controller-with-method-get/118595>\
**Category:** DE\
**Created:** [October 29, 2007, 10:31am UTC](https://www.ruby-forum.com/t/no-route-found-to-match-controller-with-method-get/118595 "2007-10-29T10:31:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ralf](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/c89c15/32.png) [@ralf](https://www.ruby-forum.com/u/ralf)\
**Post date:** [October 29, 2007, 10:31am UTC](https://www.ruby-forum.com/t/no-route-found-to-match-controller-with-method-get/118595/1 "2007-10-29T10:31:07Z")

</div>

Hi,  
I’m trying to get into Ruby using Ralf Wirdemann’s and Thomas B.'s  
book “Rapid Web development mit Ruby on Rails”.  
Setting up Ruby etc. works fine but when calling  
[http://localhost:300/controller](http://localhost:300/controller) I’m constantly getting

Routing error  
no route found to match “/controller” with {:method=\>:get}

Database was set up,  
rake migrate  
did work although I got the following warning:  
The rake task migrate has been deprecated, please use the replacement  
version db:migrate

Any idea what I’m doing wrong?

Thanks a lot for help,  
Ralf

---

<div class="post-metadata">

**Author:** ![ralf](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/c89c15/32.png) [@ralf](https://www.ruby-forum.com/u/ralf)\
**Post date:** [October 29, 2007, 11:01am UTC](https://www.ruby-forum.com/t/no-route-found-to-match-controller-with-method-get/118595/2 "2007-10-29T11:01:46Z")

</div>

Hi,  
in the URL try to replace the word ‘controller’ with the name of your  
controller…

-Alex

---

<div class="post-metadata">

**Author:** ![ralf](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/c89c15/32.png) [@ralf](https://www.ruby-forum.com/u/ralf)\
**Post date:** [October 29, 2007, 11:02am UTC](https://www.ruby-forum.com/t/no-route-found-to-match-controller-with-method-get/118595/3 "2007-10-29T11:02:57Z")

</div>

Ralf Barth schrieb:

> Hi,  
> I’m trying to get into Ruby using Ralf Wirdemann’s and Thomas B.'s  
> book “Rapid Web development mit Ruby on Rails”.  
> Setting up Ruby etc. works fine but when calling  
> [http://localhost:300/controller](http://localhost:300/controller) I’m constantly getting

Hallo Ralf.

1. denke du meinst [http://localhost:3000/controller](http://localhost:3000/controller) (3tausend)
2. lÃ¶sche die index.html im Ordner public
3. editiere und auskommentiere eine der ersten Zeilen in der  
config/routes.rb  
map.connect ‘’, :controller =\>‘controllername’, :action =\>‘actionname’  
(die ersten beiden Hochkommas stehenlassen)

GruÃŸ  
Werner

–

Werner L.  
Lindenburger Allee 22 | 50931 KÃ¶ln

0221.8805 635

```auto

http://www.webagentur-laude.de

```

---

<div class="post-metadata">

**Author:** ![ralf](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/c89c15/32.png) [@ralf](https://www.ruby-forum.com/u/ralf)\
**Post date:** [October 29, 2007, 11:09am UTC](https://www.ruby-forum.com/t/no-route-found-to-match-controller-with-method-get/118595/4 "2007-10-29T11:09:22Z")

</div>

Hi Ralf,

Am 29.10.2007 um 10:31 schrieb Ralf Barth:

> Database was set up,  
> rake migrate  
> did work although I got the following warning:  
> The rake task migrate has been deprecated, please use the replacement  
> version db:migrate

Davon wirst du unterwegs öfter mal was lesen. Google hilft im  
allgemeinen und im speziellen hilft

> **[Ruby on Rails](https://rubyonrails.org)**
>
> A web-app framework that includes everything needed to create database-backed web applications according to the Model-View-Controller (MVC) pattern.

Im Falle von rake empfehl ich dir auch mal ein rake --tasks  
damit du siehst was du damit denn überhaupt machen kannst.

ciao, tom

–  
Thomas R. “TomK32” Koll \<\> [http://tomk32.de](http://tomk32.de) \<\> [http://ananasblau.de](http://ananasblau.de)  
just a geek trying to change the world
