[Rails] Re: Rails and Oracle - can select date but cannot save

2010-08-13 Thread Tomasz Romanowski
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: module ActiveSupport #:nodoc: module CoreExtensions #:nodoc: module Date #:nodoc: # Converting dates to formatted strings,

Re: [Rails] Re: Rails and Oracle - can select date but cannot save

2010-08-13 Thread Hassan Schroeder
On Fri, Aug 13, 2010 at 12:05 PM, Tomasz Romanowski li...@ruby-forum.com 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 ,