# Help with "No route matches "/MyTest/" with {:method=\>:get}"

**URL:** <https://www.ruby-forum.com/t/help-with-no-route-matches-mytest-with-method-get/149289>\
**Category:** Rails\
**Created:** [September 23, 2008, 9:42am UTC](https://www.ruby-forum.com/t/help-with-no-route-matches-mytest-with-method-get/149289 "2008-09-23T09:42:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tbcox23](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b9bd4f/32.png) [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Post date:** [September 23, 2008, 9:42am UTC](https://www.ruby-forum.com/t/help-with-no-route-matches-mytest-with-method-get/149289/1 "2008-09-23T09:42:27Z")

</div>

I just started working with Ruby. Anyways I can’t seem to figure out  
how to have this message disappear. I was reading a tutorial and based  
on it, when I type in [http://localhost:3000/MyTest/](http://localhost:3000/MyTest/) it should say  
whatever I have written down on my my\_test\_controller.rb file.

I first ran: ruby script\generate controller MyTest

then I edited the my\_test\_controller.rb file

## It currently says:

## class MyTestController \< ApplicationController def index render\_text “Please Help” end end

I removed the index file from the public folder also.

Can anyone give me some quick advice for how I can get this to show  
up?

I also have not edited the routes.rb file and I am running on a Mac.

---

<div class="post-metadata">

**Author:** ![tbcox23](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b9bd4f/32.png) [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Post date:** [September 23, 2008, 9:58am UTC](https://www.ruby-forum.com/t/help-with-no-route-matches-mytest-with-method-get/149289/2 "2008-09-23T09:58:55Z")

</div>

try  
[http://localhost:3000/my\_test/](http://localhost:3000/my_test/)

On Tue, Sep 23, 2008 at 2:32 PM, datboitom [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> It currently says:  
> Can anyone give me some quick advice for how I can get this to show  
> up?
> 
> I also have not edited the routes.rb file and I am running on a Mac.
> 
> >

–

Christopher Marlowe - “Money can’t buy love, but it improves your  
bargaining position.”
