Thanks a lot Mislav,

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

Thanks,
Bala

2008/9/29 Mislav Marohnić <[EMAIL PROTECTED]>

> 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
>
> >
>


-- 
"Smile while you cry."

"There are only two tragedies in life: one is not getting what one wants,
and the other is getting it."

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to