lht#22 - NoMethodError activity:generate_daily_report undefined method 'truncate' for nil:NilClass