Rails for dummies

Hellos all,

I’m new to this so I have one really stupid question. When I make my
website is the whole thing going to be encoded in
my_test_controller.rb if I do ‘ruby script\generate controller MyTest’
as “ONLamp” says to do?

Cheers,

Paul

PB0711 wrote:

Hellos all,

I’m new to this so I have one really stupid question. When I make my
website is the whole thing going to be encoded in
my_test_controller.rb if I do ‘ruby script\generate controller MyTest’
as “ONLamp” says to do?

The short answer is “no”.

A longer, and more accurate answer is, “only if that’s how you want to
built it”. (Which, by the way, is a really bad idea.)

I’m assuming you haven’t finished the tutorial, so I will end by saying
finish the tutorial, and don’t worry if you make mistakes, because you
will, and at the end of the day, regardless of how poorly built your
application is, tomorrow’s application will be that much better.

Three cheers for starting your journey with Rails, too.