Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use template0 option for creating activerecord test databases in build_database task with postgres #7394

Merged
merged 1 commit into from Sep 28, 2012

Conversation

bobbywilson0
Copy link
Contributor

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 istemplate1 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.

@rafaelfranca
Copy link
Member

👍

cc @fxn

@schneems
Copy link
Member

ping, 1 month old. @fxn thoughts?

@rafaelfranca
Copy link
Member

Well. I'm going to merge. Feel free to revert if you disagree. Thanks

rafaelfranca added a commit that referenced this pull request Sep 28, 2012
Use template0 option for creating activerecord test databases in build_database task with postgres
@rafaelfranca rafaelfranca merged commit f63dd4a into rails:master Sep 28, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants