Hi,

"Carlos Diaz" <crdiaz324 / gmail.com> writes:

> Hi all,
>
> I am building an applications that access an existing database that
> has dates in the future...as far ahead as 2106.  However, when I try
> to access the data in those columns (I'm using the OCI8 driver), I get
> the following error:
>
> RangeError in Tools#search
>
> out of range of Time (expect between 1970-01-01 00:00:00 UTC and
> 2037-12-31 23:59:59, but 2106-02-22 15:17:54 EST)
>
> Anyone familiar with this?  How can I resolve?

Did you use OraDate#to_time?
How about OraDate#to_date or OraDate#to_datetime?

-- 
KUBO Takehiro
email: kubo / jiubao.org
web:   http://www.jiubao.org
GnuPG fingerprint = 5F7B C8EF CA16 57D0 FDE1  9F47 C001 1F93 AC08 2262