I am RoR newbie and am having a little trouble. I did a litle messing aroung (tutorials only) with the Thomas/Hansson book last week at work and am now trying to use Ruby at home.

okay, I was pretty sure Ror was working and decided to go back and do that tutorial from the book again to make sure that everything was working. I got to chapter 7 (catalog display example) and when trying to view http://localhost:3001/admin/edit got stuck with this error:

Mysql::Error: #42S22Unknown column 'date_available' in 'where clause': SELECT * FROM products WHERE (date_available <= now()) ORDER BY date_available desc

The thing is, when I do http://localhost:3001/admin/list or http://localhost:3001/admin/edit/#/, the date_available appears.
I tried rebuilding the Scaffold and Controller without writing over files that I had changed but that didn't work.

Does anyone understand my problem or have ideas?