I am new at programming and therfore following all the examples in the book.
I created the model,vieuws….. with the command ruby script/generate scaffold product \title:string description:text image_url:string.
This worked fine and i got the db/migrate/20090330185223_create_products.rb.
However when I did the rake db:migrate command I got the following error:
(in C:rails/rails_apps/work/depot) rake aborted! ./db/migrate//20090330185223_crate_products.rb:4: syntax error, unexpected $undefined, expecting tSTRING_CONTENT or tSTRING_DBEG or tSTRING_DVAR or tSTRING_END
t.string :\title ^
Can somebody advise what i am doing wrong.