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

Fix doc in Postgres database creation #10664

Merged
merged 1 commit into from
Oct 29, 2013
Merged

Fix doc in Postgres database creation #10664

merged 1 commit into from
Oct 29, 2013

Conversation

aderyabin
Copy link
Contributor

By default encoding for new Postgres database is utf8 and it has assert but not pointed in doc.

@@ -49,6 +49,7 @@ def recreate_database(name, options = {}) #:nodoc:
# <tt>:encoding</tt>, <tt>:collation</tt>, <tt>:ctype</tt>,
# <tt>:tablespace</tt>, and <tt>:connection_limit</tt> (note that MySQL uses
# <tt>:charset</tt> while PostgreSQL uses <tt>:encoding</tt>).
# Encoding defaults to utf8.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe add it in perenthesis after the option:

<tt>:encoding</tt> (defaults to utf8), ...

@senny
Copy link
Member

senny commented Jun 25, 2013

@aderyabin ping, did you have time to make the proposed change?

@aderyabin
Copy link
Contributor Author

I'll do it today.

senny added a commit that referenced this pull request Oct 29, 2013
Fix doc in Postgres database creation [ci skip]
@senny senny merged commit cd3a8fe into rails:master Oct 29, 2013
@senny
Copy link
Member

senny commented Oct 29, 2013

@aderyabin sorry for the long waiting time. GitHub does not notify when you push new commits to a PR. It's always good to also add a comment so relevant people are notified.

Thanks for your contribution 💛

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

2 participants