# Rails error

**URL:** <https://www.ruby-forum.com/t/rails-error/170851>\
**Category:** Rails\
**Created:** [June 23, 2009, 3:51pm UTC](https://www.ruby-forum.com/t/rails-error/170851 "2009-06-23T15:51:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![llinklater](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/6bbea6/32.png) [@llinklater](https://www.ruby-forum.com/u/llinklater)\
**Post date:** [June 23, 2009, 3:51pm UTC](https://www.ruby-forum.com/t/rails-error/170851/1 "2009-06-23T15:51:54Z")

</div>

I am trying to learn rails from “Agile Web D. 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?

---

<div class="post-metadata">

**Author:** ![llinklater](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/6bbea6/32.png) [@llinklater](https://www.ruby-forum.com/u/llinklater)\
**Post date:** [June 23, 2009, 3:59pm UTC](https://www.ruby-forum.com/t/rails-error/170851/2 "2009-06-23T15:59:34Z")

</div>

On Jun 23, 2:51 pm, Lloyd L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
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

---

<div class="post-metadata">

**Author:** ![llinklater](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/6bbea6/32.png) [@llinklater](https://www.ruby-forum.com/u/llinklater)\
**Post date:** [June 23, 2009, 4:01pm UTC](https://www.ruby-forum.com/t/rails-error/170851/3 "2009-06-23T16:01:40Z")

</div>

Frederick C. wrote:

> On Jun 23, 2:51ï¿½pm, Lloyd L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> 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.

---

<div class="post-metadata">

**Author:** ![llinklater](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/6bbea6/32.png) [@llinklater](https://www.ruby-forum.com/u/llinklater)\
**Post date:** [June 23, 2009, 4:02pm UTC](https://www.ruby-forum.com/t/rails-error/170851/4 "2009-06-23T16:02:47Z")

</div>

Lloyd L. wrote:

> Frederick C. wrote:
> 
> > On Jun 23, 2:51ï¿½pm, Lloyd L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> > 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!
