# Refactoring Rails - Project Name

**URL:** <https://www.ruby-forum.com/t/refactoring-rails-project-name/155970>\
**Category:** Rails\
**Created:** [December 18, 2008, 6:54pm UTC](https://www.ruby-forum.com/t/refactoring-rails-project-name/155970 "2008-12-18T18:54:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pete](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/3ab097/32.png) [@pete](https://www.ruby-forum.com/u/pete)\
**Post date:** [December 18, 2008, 6:54pm UTC](https://www.ruby-forum.com/t/refactoring-rails-project-name/155970/1 "2008-12-18T18:54:56Z")

</div>

Hi-

I would like to refactor the name of my project and am wondering if  
anyone has done this before (and if there’s an easy way)? I know  
there will be updates to the database.yml for DB names, along with  
environments.rb, etc.

The piece that makes me nervous is any underlying conventions that  
rely on the name of the project.

Any advice?

Thanks!

---

<div class="post-metadata">

**Author:** ![pete](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/3ab097/32.png) [@pete](https://www.ruby-forum.com/u/pete)\
**Post date:** [December 18, 2008, 6:56pm UTC](https://www.ruby-forum.com/t/refactoring-rails-project-name/155970/2 "2008-12-18T18:56:42Z")

</div>

Hi Pete.

There is no dependency on the project name. Plain simple as that.

Regards,  
Nicolai

2008/12/18 pete [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![pete](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/3ab097/32.png) [@pete](https://www.ruby-forum.com/u/pete)\
**Post date:** [December 18, 2008, 6:58pm UTC](https://www.ruby-forum.com/t/refactoring-rails-project-name/155970/3 "2008-12-18T18:58:27Z")

</div>

Ok, cool, thanks!

---

<div class="post-metadata">

**Author:** ![pete](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/3ab097/32.png) [@pete](https://www.ruby-forum.com/u/pete)\
**Post date:** [December 18, 2008, 8:05pm UTC](https://www.ruby-forum.com/t/refactoring-rails-project-name/155970/4 "2008-12-18T20:05:22Z")

</div>

Would it also be correct that if I update the database.yml file, I can  
re-run migrations with a new DB name (as long as I create it?)

Will doing this update my schema.rb?
