i have this in an application that's not using activerecord: # require 'rails/all' # require 'active_record/railtie' require 'action_controller/railtie' require 'action_mailer/railtie' require 'active_resource/railtie' require 'rails/test_unit/railtie'
where a typical rails 3 application would have require 'rails/all'. the five railtie require's underneath is are (were? this app is 3.0.0) equivalent to 'rails/all', and i commented out the activerecord one. hope that helps! -n On Feb 12, 2011, at 6:10 PM, Glenn Little wrote: > 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
