Dear Rob,

Thxs.

Regards
On Aug 24, 9:08 am, Rob Biedenharn <[email protected]>
wrote:
> On Aug 23, 2009, at 9:29 PM, GuruOne wrote:
>
>
>
> > Hi Everyone,
>
> > I have a couple of questions
> > 1. A typicalrailsenvironment has 3 databases - development, test,
> > production.
> > - Can I have more?
> > - Is there a limit?
>
> David and Mukund seem to have answered your second question. I'll  
> focus on this one.
>
> I'd rephrase your question a bit:
>
> 1. A typicalrailsapplication defines three environments -  
> development, test, production.
> - Can I define others?
>
>   Yes, you can.  I've had "staging", "fabrication", and  
> "production_LIVE" environments on various projects in addition to the  
> standard three.
>
> - Is there a limit?
>
>   No, not really. You do have to keep a config/environments/staging.rb  
> (or whatever your environment is called) and the corresponding section  
> of thedatabase.yml file, but that doesn't put a limit on how many  
> environments you can have. The real limit is probably your ability to  
> give them names that you can keep straight.
>
> -Rob
>
> Rob Biedenharn          http://agileconsultingllc.com
> [email protected]
>
>
>
>
>
> > 2. In mostrailsapplications you usually have onedatabasetype i.e.
> > MySQL or sqlite3 or PostgreSQL or ...
> > - Can I use MySQL and sqlite3 from the samerailsapplication?
> > - Is there a limit?
>
> > Regards
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to