Displaying 1 result from an estimated 1 matches for "datetimefromstr".
2012 May 21
2
Error : can't dup NilClass, in Heroku
Hi,
The application is deployed on Heroku, is based on Ruby 3.2.1 and Rails
1.9.2. Sometimes a function of my props starts throwing this error "
StringUtils:dateTimeFromString, str , *can''t dup NilClass*" and I don''t
understand the cause. it''s my function:
require ''time''
module StringUtils
DATE_FORMAT_YYYY_MM_DD=''%Y-%m-%d''
DATE_FORMAT_HH_MM_SS=''%H:%M:%S''
DATE_FORMAT_YYYY_MM_...