small medium large xlarge

Generic-user-small
23 Jun 2009, 13:39
Lloyd Linklater (2 posts)

I get an error when I try to run the command on pg 68:

ruby script/generate scaffold product \ title:string description:text image_url:string

after the “exists test/unit/” it says “wrong number of arguments (1 for 2)”

It means that I cannot progress past page 68. What am I doing wrong?

Dave2_pragsmall
23 Jun 2009, 14:05
David Spindle (9 posts)

I never use the “" to break the input line. Does it work if you leave it out?

Generic-user-small
23 Jun 2009, 14:29
Lloyd Linklater (2 posts)

Yes it does! It was in the book but I now assume that it was to indicate a line wrap and not a literal character. Thanks!

You must be logged in to comment