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

Ticket #4811 (closed defect: duplicate)

Opened 3 years ago

Last modified 3 years ago

[PATCH] Oracle Boolean Support

Reported by: atmos@atmos.org Assigned to: David
Priority: normal Milestone: 1.2
Component: ActiveRecord Version:
Severity: normal Keywords: oracle boolean
Cc:

Description

I was bummed to find out that oracle doesn't support booleans in migrations. Here's a patch to support them. It passes AR tests, but I'd love for Michael Schoen or someone to comment on it. It uses the same approach as the mysql adapter's class variable that you can disable if you want. It basically maps NUMERIC(1) to be a boolean type.

Attachments

oracle_booleans.diff (2.5 kB) - added by atmos@atmos.org on 04/19/06 21:26:34.
patch to AR

Change History

04/19/06 21:26:34 changed by atmos@atmos.org

  • attachment oracle_booleans.diff added.

patch to AR

05/21/06 07:17:38 changed by mschoen

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

Incorporated into #5139.