# What does this command mean?

**URL:** <https://www.ruby-forum.com/t/what-does-this-command-mean/191768>\
**Category:** Rails\
**Created:** [July 18, 2010, 11:09am UTC](https://www.ruby-forum.com/t/what-does-this-command-mean/191768 "2010-07-18T11:09:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![swengineer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/97f17d/32.png) [@swengineer](https://www.ruby-forum.com/u/swengineer)\
**Post date:** [July 18, 2010, 11:09am UTC](https://www.ruby-forum.com/t/what-does-this-command-mean/191768/1 "2010-07-18T11:09:34Z")

</div>

I was watching a cast from Railcasts, and came to the following command:

> > script/generate scaffold user username:string email:string password:string new edit

What does “new” and “edit” do (Represent) here?

Thanks.

---

<div class="post-metadata">

**Author:** ![swengineer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/97f17d/32.png) [@swengineer](https://www.ruby-forum.com/u/swengineer)\
**Post date:** [July 18, 2010, 11:16am UTC](https://www.ruby-forum.com/t/what-does-this-command-mean/191768/2 "2010-07-18T11:16:01Z")

</div>

new and edit are the actions that are defined in the users controller.

On Sun, Jul 18, 2010 at 2:09 AM, Abder-Rahman A.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)wrote:

> 

–  
Cheers,  
Bala  
RoR Developer Now Available for Hire

---

<div class="post-metadata">

**Author:** ![swengineer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/97f17d/32.png) [@swengineer](https://www.ruby-forum.com/u/swengineer)\
**Post date:** [July 18, 2010, 11:26am UTC](https://www.ruby-forum.com/t/what-does-this-command-mean/191768/3 "2010-07-18T11:26:55Z")

</div>

Bala P. wrote:

> new and edit are the actions that are defined in the users controller.
> 
> On Sun, Jul 18, 2010 at 2:09 AM, Abder-Rahman A.  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)wrote:
> 
> > 
> 
> –  
> Cheers,  
> Bala  
> RoR Developer Now Available for Hire

Thanks Bala.

But, when I run such command, this is what I get:

[http://pastie.org/1049171](http://pastie.org/1049171)

Should this do with the Rails version, provided that I run Rails 2.3.8  
version.

Thanks.
