On Sat, Sep 27, 2008 at 23:07, Bala <[EMAIL PROTECTED]> wrote: > > Is there way to disable DB connection to load rails, when i need i can > connect manually? > That too in production mode.
Subclass the Rails::Initializer and override the `initialize_database` method: http://pastie.org/280933 For more questions like this, post to the rubyonrails-talk mailing list, since this is a usage question. Good luck, # Mislav --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" 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-core?hl=en -~----------~----~----~----~------~----~------~--~---
