Need help with writing Patch for Issue #8143: Obscure Error with invalid YAML in database.yml

You are missing quotes around “config/database”.

Thanks. Made the changed & my patch is in the core https://github.com/rails/rails/commit/abb38feac84da59f6686d9abcce61d2a9a64efa9