Folks,

I am new to RoR. I installed Ruby 1.8.6 and netBeans. I am using MySQL 5.5.

First I created a new rails project, called it "company".
Then I generated a new model, called it "Employee"
I added three columns :name, :hiredate, and :comments to this table.
I then migrated it so it created the table "employees" on my MySQL Database perfectly.

I then generated a scaffold for the "employees" successfully. Now when I go to localhost:8080/employees/new, it shows all the links to add, list, etc but it does not show the fields for the Name, Hiredate and comments.

If I just click on "Add" it just creates an empty row in the database. How do I have it generate the text boxes and the labels for the fields?

Pls help.