I'm having a problem using the datetime_select helper for data held in
an Oracle (10g) database.

The data is stored in Oracle as DATE and the helper works fine if
there is a non-zero time component of the date. Unfortunately if there
isn't a time component (ie. the time value is midnight - 00:00:00)
then it breaks with the following error message: -

NoMethodError in Weeks#edit
...
private method `min' called for #<Date: 4908799/2,0,2299161>

>From what I can gather it looks like the code is seeing the zero time
value and therefore casting the data into a DATE type rather than a
DATETIME.

Any assistance would be appreciated.

John
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to