Newbie: Load Error Problem

A

AnthonyBaker

Hey Folks,

Just got Ruby and Rails running under OS X 10.3.5 and am now working
through the O'Reilly tutorial at

http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html

Anyhow, I've created a controller using

ruby script/generate controller MyTest

But when going to my localhost on port 3000 and trying /MyTest/ or
/MyTest, I'm getting the following error:

LoadError in Mytest#index
No such file to load -- mytest_controller.rb

Don't know if something's off, as the controller itself is
my_test_controller.rb. Saved a duplicate controller called
mytest_controller.rb and got the same error.

Any ideas?

Feel silly to have hit a hurdle so quickly into things, but am hoping
someone might shed some light on the subject.

Thanks,

Anthony
 
A

AnthonyBaker

Whoops -- sorry, folks. Just realized I was posting under the ruby
group, not rails. My apologies.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,166
Messages
2,570,907
Members
47,448
Latest member
DeanaQ4445

Latest Threads

Top