I keep getting this error when I go to http://localhost:3000/MyTest/. I created this controller inside Terminal and then I edited the my_test_controller.rb file so inside it says: class MyTestController < ApplicationController def index render_text "Please Help" end end I also deleted the index.html file in the public folder and I have not edited anything in the routes.db. I''m not too sure of the problem, I was just reading and following a tutorial to get started with Ruby. I don''t know what to do if I can''t even get this to show. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Tom Chen
2008-Sep-23 07:00 UTC
Re: No route matches "/MyTest/" with {:method=>:get} error...
Nvm, I figured it out. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Jeff Eg
2008-Oct-16 00:04 UTC
Re: No route matches "/MyTest/" with {:method=>:get} error...
Tom Chen wrote:> Nvm, I figured it out.Mind sharing? I am having the same problem and none of these solutions seem to work: Restarting WEBrick Changing the routes.rb file (or leaving it as is either) deleting the index file in the public folder my setup is almost exactly the same except I have /reportcard/ and report_card_controller.rb Any help is appreciated. Thanks. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Erol Fornoles
2008-Oct-16 00:59 UTC
Re: No route matches "/MyTest/" with {:method=>:get} error...
On Oct 16, 8:04 am, Jeff Eg <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Mind sharing? I am having the same problem and none of these solutions > seem to work: > Restarting WEBrick > Changing the routes.rb file (or leaving it as is either) > deleting the index file in the public folder > > my setup is almost exactly the same except I have /reportcard/ and > report_card_controller.rb > > Any help is appreciated. > Thanks. > -- > Posted viahttp://www.ruby-forum.com/.The default route to your report_card_controller.rb would be mapped as /report_card and not as /reportcard --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---