RE: Still Stumbled on First things in trying RubyOnRails


#1

ls-tutorials
introduced
C:\InstantRails-1.0\rails_apps\cookbook2\app\views\recipe\edit.rhtml,
and modified
C:\InstantRails-1.0\rails_apps\cookbook2\app\controllers\recip
e_controller
C:\InstantRails-1.0\rails_apps\cookbook2\app\models\category
C:\InstantRails-1.0\rails_apps\cookbook2\app\models\recipe

I log into http://localhost:3000/category/list, chose an
item, and when I hit the “Edit” button, error message occurred.

I’ve walked through the tutorial using InstantRails without any
problems. Can you provide me more details on the error (Feel free to
contact me off list if you want) and I’ll see if I can help.

directory.
After that, I removed the database, and the “cookbook2”
a bit like introducing a field with foreign-key contrainst.
I would be grateful if some one would help.

After that, I went on to try “Four Days on Rails” tutorial.

I was stuck because I don’t know how to introduce the Apache
that is required. So I used the InstantRails 1.0 that is
already installed.

For fun, I am currently going through this one as well but am trying to
use the latest stuff in part to see what has changed :wink: and I am using
InstantRails 1.3.

When I tried to log on http://todo/ I didn’t get the expected
“Congratulations …”

The first this I did was not use Apache. I find it too cumbersome for
this type of stuff. The included WEBrick server works just fine.

If you startup your app using

c:\InstantRails\rails_apps\todo> ruby script\server

This will startup the server on port 3000 and you can then reference the
todo stuff using

http://localhost:3000/

to get the main welcome page. Then to get to your application use:

http://localhost:3000/category

instead of http://todo/category as indicated in the tutorial (at the top
of page 6).


#2

Thanks, Bill.

I have replied by email, thus taking this off the Forum

Regards,

Ling.

William (Bill) Froelich wrote:

ls-tutorials
introduced
C:\InstantRails-1.0\rails_apps\cookbook2\app\views\recipe\edit.rhtml,
and modified
C:\InstantRails-1.0\rails_apps\cookbook2\app\controllers\recip
e_controller
C:\InstantRails-1.0\rails_apps\cookbook2\app\models\category
C:\InstantRails-1.0\rails_apps\cookbook2\app\models\recipe

I log into http://localhost:3000/category/list, chose an
item, and when I hit the “Edit” button, error message occurred.

I’ve walked through the tutorial using InstantRails without any
problems. Can you provide me more details on the error (Feel free to
contact me off list if you want) and I’ll see if I can help.

directory.
After that, I removed the database, and the “cookbook2”
a bit like introducing a field with foreign-key contrainst.
I would be grateful if some one would help.

After that, I went on to try “Four Days on Rails” tutorial.

I was stuck because I don’t know how to introduce the Apache
that is required. So I used the InstantRails 1.0 that is
already installed.

For fun, I am currently going through this one as well but am trying to
use the latest stuff in part to see what has changed :wink: and I am using
InstantRails 1.3.

When I tried to log on http://todo/ I didn’t get the expected
“Congratulations …”

The first this I did was not use Apache. I find it too cumbersome for
this type of stuff. The included WEBrick server works just fine.

If you startup your app using

c:\InstantRails\rails_apps\todo> ruby script\server

This will startup the server on port 3000 and you can then reference the
todo stuff using

http://localhost:3000/

to get the main welcome page. Then to get to your application use:

http://localhost:3000/category

instead of http://todo/category as indicated in the tutorial (at the top
of page 6).