# The 3 databases question

**URL:** <https://www.ruby-forum.com/t/the-3-databases-question/111997>\
**Category:** Rails\
**Created:** [August 14, 2007, 4:39am UTC](https://www.ruby-forum.com/t/the-3-databases-question/111997 "2007-08-14T04:39:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![eggie5](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/7c8e57/32.png) [@eggie5](https://www.ruby-forum.com/u/eggie5)\
**Post date:** [August 14, 2007, 4:39am UTC](https://www.ruby-forum.com/t/the-3-databases-question/111997/1 "2007-08-14T04:39:45Z")

</div>

So when you create a new ROR app, it wants to use 3 databases:  
development, testing and production. I understand the place of dev and  
testing on the localhost, but I don’t understand why you need a  
production database on localhost? What is the common practice when you  
deploy your rails app, do you have the 3 databases on your hosting  
server or just have a testing and production?

I’d like to know more about the big picture of using the 3 databases  
from development to testing to production. A real world example you  
can cite?

---

<div class="post-metadata">

**Author:** ![eggie5](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/7c8e57/32.png) [@eggie5](https://www.ruby-forum.com/u/eggie5)\
**Post date:** [August 14, 2007, 4:44am UTC](https://www.ruby-forum.com/t/the-3-databases-question/111997/2 "2007-08-14T04:44:45Z")

</div>

On 8/13/07, eggie5 [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> can cite?  
> I typically only use two, and use the same info for development and  
> production.

–  
Rick O.  
[http://lighthouseapp.com](http://lighthouseapp.com)  
[http://weblog.techno-weenie.net](http://weblog.techno-weenie.net)  
[http://mephistoblog.com](http://mephistoblog.com)
