Based on the conversation I had with core team members several months
ago on related matter, they want people to be able to run `rails new
foo` and the app just work out of the box (like, you can run `rails
server` right away)
So, I don't think this proposal will pass. I'm not sure about a flag
that would create `database.example.yml` instead of `database.yml`,
though.
I have seen many projects were database.yml is in version control. I don’t think it can be said not sharing database.yml is a best practice in general, it depends on the context of the project.
As with many other candidates for .gitignore, I personally prefer that you add it if you need it.