search for: 003_add_test_data

Displaying 4 results from an estimated 4 matches for "003_add_test_data".

2007 Feb 16
5
rake db:migrate - error 'tSYMBEG'
I''m going through the ''Depot'' project in "Agile Web Development with Rails". I just made the 003_add_test_data.rb file and when I do a "rake db:migrate", I get this error and I can''t figure out what is wrong: rake aborted! ./db/migrate//003_add_test_data.rb:5: parse error, unexpected tSYMBEG 5. :description => (and the ''d'' in description has a little arrow...
2006 Aug 01
10
Migration DB Question
Just going through ''agile web development with rails'' 2nd ed. I accidentally created an empty migration source file with the wrong name, ruby script/generate migration add_test_date and then straight after that created the one I wanted to use ruby script/generate migration add_test_data and populated the second one - when I ran rake db:migrate a few times it did not seem
2006 Aug 03
1
Migration not working
I''m working my way though Agile web development 2nd ed. I got to the part where you add test data into the database, or the 003_add_test_data file. When I ran the rake db:migrate, it seemed to work, but the database did not populate, as it didn''t show up when I called admin/list from my browser. I went into the mysql server and checked the database with the "select * from products;" command, but it said it was an emp...
2006 Jun 06
15
error working through Agile !!!
Hi everyone, I''m working my way thru the ''Depot'' project from Agile Web Development with Rails. I got to the bit where I type: ruby script/generate scaffold Product admin And I get the following error: error Before updating scaffolding from new DB schema, try creating a table for your model (Product) ( on the last line ! ) Now I have followed everything as