Oracle Date problem with legacy schema

Hi

One of my columns, acqon, stores the date and time of an event. RoR
automatically converts it into a Date object and not a time object. So i
am loosing some information.

I am at a loss how to correct this without changing the column name or
creating a view. I am using Oracle.

Does anyone have a clue??

Thanks

Chris

I don’t have a clue but are you talking something like this?

From the Api docs
attributes_before_type_cast()
Returns a hash of cloned attributes before typecasting and
deserialization

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs