<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Bad DateTime Support in Ruby&#8230;&#8230;&#8230;..but wait!</title>
	<atom:link href="http://benreichelt.net/blog/2006/09/27/bad-datetime-support-in-rubybut-wait/feed/" rel="self" type="application/rss+xml" />
	<link>http://benreichelt.net/blog/2006/09/27/bad-datetime-support-in-rubybut-wait/</link>
	<description></description>
	<lastBuildDate>Tue, 18 Aug 2009 22:20:45 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Sam</title>
		<link>http://benreichelt.net/blog/2006/09/27/bad-datetime-support-in-rubybut-wait/comment-page-1/#comment-68</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Mon, 16 Oct 2006 13:48:41 +0000</pubDate>
		<guid isPermaLink="false">http://s194721765.onlinehome.us/blog/2006/09/27/bad-datetime-support-in-rubybut-wait/#comment-68</guid>
		<description>Hey Ben, that probably sounded a little short. Not what I intended, it just got my gears turning on how to best address this issue and I wanted to get the short answer out there. :-) If you&#039;re curious, you&#039;ve inspired this post: http://substantiality.net/articles/2006/10/16/date-time-and-datetime-in-ruby where I explain in detail the behaviour you&#039;re seeing. I did my best, but any criticisms are welcome. :-)</description>
		<content:encoded><![CDATA[<p>Hey Ben, that probably sounded a little short. Not what I intended, it just got my gears turning on how to best address this issue and I wanted to get the short answer out there. <img src='http://benreichelt.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  If you&#8217;re curious, you&#8217;ve inspired this post: <a href="http://substantiality.net/articles/2006/10/16/date-time-and-datetime-in-ruby" rel="nofollow">http://substantiality.net/articles/2006/10/16/date-time-and-datetime-in-ruby</a> where I explain in detail the behaviour you&#8217;re seeing. I did my best, but any criticisms are welcome. <img src='http://benreichelt.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://benreichelt.net/blog/2006/09/27/bad-datetime-support-in-rubybut-wait/comment-page-1/#comment-67</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Sun, 15 Oct 2006 22:29:54 +0000</pubDate>
		<guid isPermaLink="false">http://s194721765.onlinehome.us/blog/2006/09/27/bad-datetime-support-in-rubybut-wait/#comment-67</guid>
		<description>The short of it is that you&#039;ll get the behaviour you expect if you use the &quot;Time&quot; class instead.</description>
		<content:encoded><![CDATA[<p>The short of it is that you&#8217;ll get the behaviour you expect if you use the &#8220;Time&#8221; class instead.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ben</title>
		<link>http://benreichelt.net/blog/2006/09/27/bad-datetime-support-in-rubybut-wait/comment-page-1/#comment-66</link>
		<dc:creator>ben</dc:creator>
		<pubDate>Sat, 30 Sep 2006 15:34:16 +0000</pubDate>
		<guid isPermaLink="false">http://s194721765.onlinehome.us/blog/2006/09/27/bad-datetime-support-in-rubybut-wait/#comment-66</guid>
		<description>this is just a test</description>
		<content:encoded><![CDATA[<p>this is just a test</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ben reichelt</title>
		<link>http://benreichelt.net/blog/2006/09/27/bad-datetime-support-in-rubybut-wait/comment-page-1/#comment-65</link>
		<dc:creator>ben reichelt</dc:creator>
		<pubDate>Thu, 28 Sep 2006 13:24:24 +0000</pubDate>
		<guid isPermaLink="false">http://s194721765.onlinehome.us/blog/2006/09/27/bad-datetime-support-in-rubybut-wait/#comment-65</guid>
		<description>Ryan, thanks for the link thats sweet, I&#039;ll have to go change my columns names now</description>
		<content:encoded><![CDATA[<p>Ryan, thanks for the link thats sweet, I&#8217;ll have to go change my columns names now</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://benreichelt.net/blog/2006/09/27/bad-datetime-support-in-rubybut-wait/comment-page-1/#comment-64</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Thu, 28 Sep 2006 11:21:06 +0000</pubDate>
		<guid isPermaLink="false">http://s194721765.onlinehome.us/blog/2006/09/27/bad-datetime-support-in-rubybut-wait/#comment-64</guid>
		<description>Hi Ben,

Rails will automagically update fields named updated_on or updated_at on UPDATE and created_on created_at on INSERT.  I&#039;m not sure but they may need to be TimeStamp rather than DateTime (if indeed there is any difference)

There&#039;s a list of fields here.. http://wiki.rubyonrails.org/rails/pages/MagicFieldNames</description>
		<content:encoded><![CDATA[<p>Hi Ben,</p>
<p>Rails will automagically update fields named updated_on or updated_at on UPDATE and created_on created_at on INSERT.  I&#8217;m not sure but they may need to be TimeStamp rather than DateTime (if indeed there is any difference)</p>
<p>There&#8217;s a list of fields here.. <a href="http://wiki.rubyonrails.org/rails/pages/MagicFieldNames" rel="nofollow">http://wiki.rubyonrails.org/rails/pages/MagicFieldNames</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ben reichelt</title>
		<link>http://benreichelt.net/blog/2006/09/27/bad-datetime-support-in-rubybut-wait/comment-page-1/#comment-63</link>
		<dc:creator>ben reichelt</dc:creator>
		<pubDate>Thu, 28 Sep 2006 03:55:52 +0000</pubDate>
		<guid isPermaLink="false">http://s194721765.onlinehome.us/blog/2006/09/27/bad-datetime-support-in-rubybut-wait/#comment-63</guid>
		<description>Jake, I&#039;m using datetime fields, you&#039;re saying that if I name my columns correctly, rails will know which field to update on INSERTS (CreatedDate and LastModified) and which fields to update on UPDATES (only LastModified, not CreatedDate) ??</description>
		<content:encoded><![CDATA[<p>Jake, I&#8217;m using datetime fields, you&#8217;re saying that if I name my columns correctly, rails will know which field to update on INSERTS (CreatedDate and LastModified) and which fields to update on UPDATES (only LastModified, not CreatedDate) ??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jake Good</title>
		<link>http://benreichelt.net/blog/2006/09/27/bad-datetime-support-in-rubybut-wait/comment-page-1/#comment-62</link>
		<dc:creator>Jake Good</dc:creator>
		<pubDate>Thu, 28 Sep 2006 02:18:48 +0000</pubDate>
		<guid isPermaLink="false">http://s194721765.onlinehome.us/blog/2006/09/27/bad-datetime-support-in-rubybut-wait/#comment-62</guid>
		<description>Were you using datetime or timestamp?

I&#039;m pretty sure I&#039;ve never had to do this... And another thing, if you name your columns right, Ruby will do this for you!</description>
		<content:encoded><![CDATA[<p>Were you using datetime or timestamp?</p>
<p>I&#8217;m pretty sure I&#8217;ve never had to do this&#8230; And another thing, if you name your columns right, Ruby will do this for you!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
