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
render_text “Please Help”
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.
Tom C. wrote:
Nvm, I figured it out.
Mind sharing? I am having the same problem and none of these solutions
seem to work:
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
Any help is appreciated.
On Oct 16, 8:04 am, Jeff Eg [email protected] wrote:
The default route to your report_card_controller.rb would be mapped
as /report_card and not as /reportcard