H
Henrik Ekenberg
[Note: parts of this message were removed to make it a legal post.]
Hi,
After a ruby upgrade I have an error with to_date.
C:\>ruby Test_todate.rb
Test_todate.rb:7:in `<main>': 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
--
Hi,
After a ruby upgrade I have an error with to_date.
C:\>ruby Test_todate.rb
Test_todate.rb:7:in `<main>': 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
--