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.
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