On Fri, Aug 13, 2010 at 12:05 PM, Tomasz Romanowski <[email protected]> wrote: > Found how to set the date format for DB conversion on the Rails side as > opposed to Oracle. It's good but it's not enough. I put the following in > overrides.rb:
> DATE_FORMATS[:db] = "%d-%b-%y" > This gives me , for Aug 13th 2010, 13-Aug-10. However, Oracle expects > 12-AUG-10 (i.e. month all caps) and continues to reject the date on > save. DATE_FORMATS[:db] = '%d-%b-%y'.upcase Regardless, you might want to try the oracle_enhanced adapter -- <http://github.com/rsim/oracle-enhanced> FWIW, -- Hassan Schroeder ------------------------ [email protected] twitter: @hassan -- 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.

