Depending on your exactly goals (which aren't clear to me) and your database, you may be able work with database views: https://secure.wikimedia.org/wikipedia/en/wiki/View_%28database%29.
(See also: "Views: The Key to Database Agility" http://www.tdan.com/view-articles/5109 or "Database agility" http://www.netobjectives.com/blogs/database-agility). Good luck! --Allan ----- Original Message ---- > From: Glenn Little <[email protected]> > To: [email protected] > Sent: Sat, February 12, 2011 6:10:30 PM > Subject: [SDRuby] rails app without prod/dev dbs? > > Is there a best practice for configuring a rails app without a > production/development database? I don't want to turn off > ActiveRecord completely since I may use one or another ancillary > databases. But for the time being I don't want a "main" database (I > may add one later). > > Rails fails to start if the production/development entries do not > exist. Is it acceptable to just leave the default sqlite configs > there? Seems a little inelegant, but maybe that's okay. > > Thanks... > > -glenn > > -- > SD Ruby mailing list > [email protected] > http://groups.google.com/group/sdruby > -- SD Ruby mailing list [email protected] http://groups.google.com/group/sdruby
