Problem with DATE type in Oracle

I have several DATE fields in several Oracle tables. Some have time information, some don't (but same data type). Rails doesn't seem to handle the ones that don't contain it, for editing.

For example, on "show", I'll see:

2006-02-02

and

Thu Apr 12 09:31:04 +0200 2007

in two different DATE fields. But I'll get the following error message on "edit", regarding 2006-02-02:

private method `min' called for #<Date: 4907537/2,0,2299161>

Does anyone know how to solve this problem?

Thanks, Chris.

I solved the problem, by replacing the Rails-generated "datetime_select" with "date_select" in _form.rhtml.