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

Ticket #10550 (closed defect: fixed)

Opened 5 months ago

Last modified 5 months ago

[PATCH] Rails script reports default database type as 'mysql' when it is now 'sqlite3'

Reported by: willcannings Assigned to: core
Priority: low Milestone: 2.0.3
Component: Railties Version: edge
Severity: minor Keywords:
Cc:

Description

Running 'rails -h' in 2.0.2 gives:

-d, --database=name Preconfigure for selected database (options: mysql/oracle/postgresql/sqlite2/sqlite3). Default: mysql

The default should be listed as sqlite3, not mysql, as it has now changed.

Attachments

default_sqlite3_in_app_generator.diff (1.4 kB) - added by chuyeow on 12/18/07 17:08:59.

Change History

12/18/07 17:08:59 changed by chuyeow

  • attachment default_sqlite3_in_app_generator.diff added.

12/18/07 17:10:08 changed by chuyeow

Good catch. Easy to fix, attaching a patch that also indicates that a Frontbase config is available in a DRY-er manner.

12/19/07 02:04:04 changed by chuyeow

  • summary changed from Rails script reports default database type as 'mysql' when it is now 'sqlite3' to [PATCH] Rails script reports default database type as 'mysql' when it is now 'sqlite3'.

12/19/07 03:20:03 changed by chuyeow

  • milestone changed from 2.x to 2.0.3.

Just updating the milestone since this really should go into the next point release.

12/21/07 03:39:29 changed by bitsweat

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

(In [8457]) App generate says sqlite3 is the default and mentions frontbase. Closes #10550 [Cheah Chu Yeow, Will Cannings]