Rails undefined method `strftime' for "2013-03-06":String
It looks like your duedate is a string, when strftime is a method for Time/Date class. You can try this:
Date.parse(task.duedate).strftime("%B %e, %Y")
This solved the issue for me:
Date.created_at.try(:strftime, ("%B %e, %Y"))
Hope this helps!