rubyonrailsin

A Ruby and Rails talk

Sunday, March 14, 2010


Re: [Rails] Noob: database selection question

by rubyonrailsin 0 comments

Tag


Share this post:
Design Float
StumbleUpon
Reddit

On Fri, Mar 12, 2010 at 8:40 PM, Len Sumnler <lists@ruby-forum.com> wrote:

> The book seems to suggest that development should be done using sqlite3
> and that the testing and/or production can be switched to some other
> database.  Now it does not say you have to do it this way and even gives
> instructions to setup your initial development using MySql.
>
> My question is - is this how most people/organizations do it or do they
> just use the same database from development through production.

I don't know about "most" but my preference is to use the same DB
all the way through. Sometime's it not practical, so...

> I would think using different databases could lead to errors due to
> database quarks in the your coded application.

Yep, it happens. At the least you should have a staging server with
an environment identical to production for your final testing.

FWIW,
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment

Subscribe feeds via e-mail

Blog Archive