Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #11331 (closed defect: fixed)

Opened 7 months ago

Last modified 6 months ago

[PATCH]rake db:create doesn't use the charset and/or collation set database.yml

Reported by: matt Assigned to: core
Priority: normal Milestone: 2.x
Component: ActiveRecord Version: edge
Severity: normal Keywords: rake db:create
Cc:

Description

charset and collation set in the database.yml are ignored by rake db:create and db:reset

Attachments

fixed_charset_collation_set_in_database_yml.diff (1.3 kB) - added by matt on 03/12/08 05:55:19.

Change History

03/12/08 05:55:19 changed by matt

  • attachment fixed_charset_collation_set_in_database_yml.diff added.

03/12/08 18:19:27 changed by manfred

If you're going to change this, it might also be a good idea to change the database.yml template.

03/12/08 18:32:48 changed by matt

@manfred why changing the database.yml? by default everything is utf8, only add stuff to your database.yml if you really have to change the charset and collation

03/31/08 21:16:21 changed by david

  • status changed from new to closed.
  • resolution set to fixed.

(In [9170]) Fixed charset/collation for rake db:create (closes #11331) [matt]