# Scaffold in Aptana error - wrong number of arguments(1 for 2) help?

**URL:** <https://www.ruby-forum.com/t/scaffold-in-aptana-error-wrong-number-of-arguments-1-for-2-help/182605>\
**Category:** Rails\
**Created:** [January 30, 2010, 11:19pm UTC](https://www.ruby-forum.com/t/scaffold-in-aptana-error-wrong-number-of-arguments-1-for-2-help/182605 "2010-01-30T23:19:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![will](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/90ced4/32.png) [@will](https://www.ruby-forum.com/u/will)\
**Post date:** [January 30, 2010, 11:19pm UTC](https://www.ruby-forum.com/t/scaffold-in-aptana-error-wrong-number-of-arguments-1-for-2-help/182605/1 "2010-01-30T23:19:15Z")

</div>

Hi all - I’m new to rails and programming in general.  
I installed Rails 2.3.5, using mac os x 10.5.8, running into problems  
using scaffold. I am using Aptana Radrails as my IDE. I was not  
encountering this problem when using Rails 1.2.6, which is odd because  
from what I can gather online the entry syntax I am using should only  
work with Rails 2.x . Any help would be greatly appreciated.

I enter the following:

> script/generate scaffold product \ title:string

Which then yields:

```
  exists app/models/
  exists app/controllers/
  exists app/helpers/
  create app/views/products
  exists app/views/layouts/
  exists test/functional/
  exists test/unit/
  create test/unit/helpers/
  exists public/stylesheets/
  create app/views/products/index.html.erb

```

wrong number of arguments (1 for 2)

---

<div class="post-metadata">

**Author:** ![will](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/90ced4/32.png) [@will](https://www.ruby-forum.com/u/will)\
**Post date:** [January 30, 2010, 11:20pm UTC](https://www.ruby-forum.com/t/scaffold-in-aptana-error-wrong-number-of-arguments-1-for-2-help/182605/2 "2010-01-30T23:20:25Z")

</div>

On Jan 30, 8:49 pm, Will [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> 

You don’t want that backslash there (I’m guessing that you copied that  
from a tutorial, where a \ at the end of the line usually indicates  
that the command should be entered on a single line)

Fred
