# Changing model name

**URL:** <https://www.ruby-forum.com/t/changing-model-name/108468>\
**Category:** Rails\
**Created:** [July 3, 2007, 9:35pm UTC](https://www.ruby-forum.com/t/changing-model-name/108468 "2007-07-03T21:35:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jacques\_lanfranchi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/f08c70/32.png) [@jacques\_lanfranchi](https://www.ruby-forum.com/u/jacques_lanfranchi)\
**Post date:** [July 3, 2007, 9:35pm UTC](https://www.ruby-forum.com/t/changing-model-name/108468/1 "2007-07-03T21:35:19Z")

</div>

Hi Railers,

As a newby I’m cutting my teeth on ROR doing all kind of things.  
Here’s one:

The command: script/generate model create the model and all the  
Rails files related to this one.

Developping the application I decided the model’s name should be  
changed after it was generated but before I do the migration.

Is there a way to do it automatically, or should I do it by hand file by  
file?

Thanks for your help,  
Jacques
