Solve initializer is trying to connect db on rake assets:precompile
Sometimes, you need load connection on db using initializer/ on Ruby on rails. For some environment like test and development it’s fine. But when we try to deploy on production which make lazy load turn… Solve initializer is trying to connect db on rake assets:precompile