Environment + DB Connection

Hello Experts,

Is there way to disable DB connection to load rails, when i need i can connect manually? That too in production mode.

Thanks, Bala

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,


Thanks a lot Mislav,

It really helped me a lot. So thankfull to you.

Thanks, Bala