I am trying to learn rails from "Agile Web Development with Rails, 3rd Edition" and am having troubles. I get an error when I try to run this command on pg 68: ruby script/generate scaffold product \ title:string description:text image_url:string after the “exists test/unit/” result in the dommand window, it says “wrong number of arguments (1 for 2)” It means that I cannot progress past page 68. What am I doing wrong? -- Posted via http://www.ruby-forum.com/.
On Jun 23, 2:51 pm, Lloyd Linklater <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> I am trying to learn rails from "Agile Web Development with Rails, 3rd > Edition" and am having troubles. I get an error when I try to run this > command on pg 68: > > ruby script/generate scaffold product \ title:string description:text > image_url:string > > after the “exists test/unit/” result in the dommand window, it says > “wrong number of arguments (1 for 2)” > > It means that I cannot progress past page 68. What am I doing wrong?is that backslash there in the command you are actually typing ? Fred> -- > Posted viahttp://www.ruby-forum.com/.
Frederick Cheung wrote:> On Jun 23, 2:51�pm, Lloyd Linklater <rails-mailing-l...@andreas-s.net> > wrote: >> It means that I cannot progress past page 68. What am I doing wrong? > is that backslash there in the command you are actually typing ? > > FredThere is in the book. -- Posted via http://www.ruby-forum.com/.
Lloyd Linklater wrote:> Frederick Cheung wrote: >> On Jun 23, 2:51�pm, Lloyd Linklater <rails-mailing-l...@andreas-s.net> >> wrote: >>> It means that I cannot progress past page 68. What am I doing wrong? >> is that backslash there in the command you are actually typing ? >> >> Fred > > There is in the book.OMG! You are right! It seems that they have it in there as a line wrap and not a literal character. What a gotcha THAT is! Thanks! -- Posted via http://www.ruby-forum.com/.