fixed non-existent database_info function in rails::configure

cr https://cr.amazon.com/r/2412599/