rails/rails — pull request #7394 by bobbyw (2012-08-20 02:11:46+00:00)
Title: Use template0 option for creating activerecord test databases in build_database task with postgres

It seems like this could eliminate some annoyances for other people as well. `template0` as I understand it is a pristine database template where the default template to use is` template1` which may include some options. In my case using the new rails-dev-box vagrant setup; `template1` default encoding is SQL_ASCII and raises an error because it conflicts with the UTF-8 option passed in.