Hello all. I am a novice Ruby on Rails programmer, starting my first
project using a legacy Oracle 10 database. Using 'reverse_scaffold' I
have created the models/controllers/views for my existing Oracle
tables.

All seems to work well, using /model/index, /model/show for most of my
tables, *except* when one of the tables contains a Oracle 'date'
column, for example when going to ~/filelists/show/959:

ActiveRecord::StatementInvalid in FilelistsController#show
ArgumentError: invalid date: SELECT * FROM filelist WHERE
(filelist.fllid = 959)

I already tried updating the record with NULL values for the date
columns, or with actual valid date values, but ActiveRecord *or*
OracleEnhancedAdapter seems to refuse to load my date values.

Is this a known issue or is there something else I should do in my
model file to make date support work?

Thanks!

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to