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.


I'm not entirely sure what you mean by this. Could you elaborate more?


By default all the adapters will load to connect with Rails initially,
so i dont want to connect with any database when rails initialization.

Just i want to load Home page without database connection. So that i can

connect to any kind of db which i’ll provide by user input as db, username, password
and host.