I solved the problem, by replacing the Rails-generated
"datetime_select" with "date_select" in _form.rhtml.
On Aug 21, 12:09 pm, gers32
<cbu.ki...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> 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.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---