From: Henrik Ekenberg Date: 2010-11-15T17:06:21+09:00 Subject: To_date Error ... --20cf3054995defb5de049512e8ab Content-Type: text/plain; charset=ISO-8859-1 Hi, After a ruby upgrade I have an error with to_date. C:\>ruby Test_todate.rb Test_todate.rb:7:in `
': undefined method `to_date' for "2011-01-01":String (NoMethodError) Any advice ? code is here -- require 'rubygems' require 'active_support' t = Time.now if ( t > "2011-01-01".to_date ) end -- --20cf3054995defb5de049512e8ab--