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

Ticket #2379 (new defect)

Opened 4 years ago

Last modified 2 years ago

[PATCH] Make Schema Dumper complain when it can't handle columns it encounters

Reported by: solo Assigned to: David
Priority: normal Milestone:
Component: ActiveRecord Version: edge
Severity: normal Keywords: needy
Cc:

Description

Schema dumper was dying with the Whiny Nil error message. I added some debug logging to track it down, and it turns out it was my (admittedly MySQL-centric) enum columns. I think Schema Dumper should complain a little bit about why it is failing, so here is a patch for it...

Attachments

make_schema_dumper_complain.diff (1.4 kB) - added by solo on 10/04/05 16:13:25.
Make Schema Dumper complain on columns it can't handle

Change History

10/04/05 16:13:25 changed by solo

  • attachment make_schema_dumper_complain.diff added.

Make Schema Dumper complain on columns it can't handle

01/25/07 05:00:57 changed by smeade

note: see related #2832

02/25/07 23:38:56 changed by josh

  • keywords set to needy.
  • version changed from 0.13.1 to edge.

Patch needs to be entirely rewritten because SchemaDumper has radically changed since.