Whats the significance of creating three db's in ruby and rails.

Posted by piemesons on Stack Overflow See other posts from Stack Overflow or by piemesons
Published on 2010-04-05T12:39:09Z Indexed on 2010/04/05 12:43 UTC
Read the original article Hit count: 255

Filed under:
|
|
|

Hello friends i am moving from php to ruby on rails. Suppose u want to create a application in ruby on rails

rails depot -d mysql

This will create a application depot with database mysql right..!!! Now config/database.yml has a definition of three databases ie depot_development, depot_test and depot_production under environment development , test and production respectiviely

Whats the significance of creating these three databases.. (Please explain considering this is my first day with ruby on rails and i am takin help from Agile Web Development with Rails)

© Stack Overflow or respective owner

Related posts about ruby

Related posts about on