title: Rails undefined method `strftime' for "2013-03-06":String
body: <p>I am getting the error </p>
  
  <p>undefined method `strftime' for "2013-03-06":String</p>
  
  <p>when trying to display a date normally (June Sunday 3, 2013 or something similar) from the string 2013-03-06 using strftime.</p>
  
  <p>The line that does this in my index.html.erb and looks like this </p>
  
  <p><code>&lt;td&gt;&lt;%= task.duedate.strftime("%B %e, %Y") %&gt;&lt;/td&gt;</code></p>
  
  <p>I am just learning Rails so I am sure it is just a stupid beginners error, any help would be appreciated. Thank you</p>