I’m trying to add an RSS feed to my app, and am going through the
Rails Recipes chapter on doing so. I get the following error when I
request the feed:
undefined method `gmtime’ for #<DateTime: 1963061961/800,0,2299161>
7: xml.pubDate CGI.rfc1123_date(@posts.first.created_on)
Any idea what’s up?