<?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 for Aaron Godin</title>
	<atom:link href="http://aarongodin.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://aarongodin.com</link>
	<description>Programming, design, and stuff! I enjoy the web, among many other things.</description>
	<lastBuildDate>Fri, 13 Aug 2010 00:30:32 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>Comment on Rails DateTime Validation by Aaron Godin</title>
		<link>http://aarongodin.com/2010/08/12/rails-datetime-validation-2/#comment-8</link>
		<dc:creator>Aaron Godin</dc:creator>
		<pubDate>Fri, 13 Aug 2010 00:30:32 +0000</pubDate>
		<guid isPermaLink="false">http://aarongodin.com/?p=52#comment-8</guid>
		<description>Awesome! Great to hear from the man himself.

Thank you for your comment and suggestions. I will look into adding the date format into the v_t formats and see what I can come up with.</description>
		<content:encoded><![CDATA[<p>Awesome! Great to hear from the man himself.</p>
<p>Thank you for your comment and suggestions. I will look into adding the date format into the v_t formats and see what I can come up with.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Rails DateTime Validation by Adam Meehan</title>
		<link>http://aarongodin.com/2010/08/12/rails-datetime-validation-2/#comment-7</link>
		<dc:creator>Adam Meehan</dc:creator>
		<pubDate>Thu, 12 Aug 2010 23:59:02 +0000</pubDate>
		<guid isPermaLink="false">http://aarongodin.com/?p=52#comment-7</guid>
		<description>Hi Aaron

Thanks for the great write up!

I&#039;m the plugin author and I just wanted to comment on a couple of things.

The &#039;Date.today&#039; should be wrapped in a lambda like so &#039;lambda { Date.today }&#039; so that it gets evaluated every time the validations run. Otherwise you end up using a static date value which we be the same date for as long the application process is running. 

This is a little ugly but it will be smoother in the Rails 3 version I&#039;m developing which will allow a symbol shorthand for common relative time and date values. So your example would become :on_or_after =&gt; :today. These are configurable as you would expect :)

I had a quick look at the calendar_date_select and saw what default format it uses. Translated into the v_t format it should be a date of &#039;mmm d, yyyy&#039; and time &#039;hh:nn ampm&#039;. You could try adding the data and combined as a datatime format to the v_t formats and see how you go. The time format is already supported in v_t. If it works I can add that date format as a default in the plugin.

Adam</description>
		<content:encoded><![CDATA[<p>Hi Aaron</p>
<p>Thanks for the great write up!</p>
<p>I&#8217;m the plugin author and I just wanted to comment on a couple of things.</p>
<p>The &#8216;Date.today&#8217; should be wrapped in a lambda like so &#8216;lambda { Date.today }&#8217; so that it gets evaluated every time the validations run. Otherwise you end up using a static date value which we be the same date for as long the application process is running. </p>
<p>This is a little ugly but it will be smoother in the Rails 3 version I&#8217;m developing which will allow a symbol shorthand for common relative time and date values. So your example would become :on_or_after =&gt; :today. These are configurable as you would expect :)</p>
<p>I had a quick look at the calendar_date_select and saw what default format it uses. Translated into the v_t format it should be a date of &#8216;mmm d, yyyy&#8217; and time &#8216;hh:nn ampm&#8217;. You could try adding the data and combined as a datatime format to the v_t formats and see how you go. The time format is already supported in v_t. If it works I can add that date format as a default in the plugin.</p>
<p>Adam</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Finding A Community by Tweets that mention Finding A Community &#124; Aaron Godin -- Topsy.com</title>
		<link>http://aarongodin.com/2010/07/02/finding-a-community/#comment-2</link>
		<dc:creator>Tweets that mention Finding A Community &#124; Aaron Godin -- Topsy.com</dc:creator>
		<pubDate>Fri, 02 Jul 2010 04:29:04 +0000</pubDate>
		<guid isPermaLink="false">http://aarongodin.com/?p=6#comment-2</guid>
		<description>[...] This post was mentioned on Twitter by Brian Hogan, Aaron Godin. Aaron Godin said: The blog is finally there. It&#039;s there to stay. A first post for thought! Everyone&#039;s a beginner at some point. http://aarongodin.com/?p=6 [...]</description>
		<content:encoded><![CDATA[<p>[...] This post was mentioned on Twitter by Brian Hogan, Aaron Godin. Aaron Godin said: The blog is finally there. It&#039;s there to stay. A first post for thought! Everyone&#039;s a beginner at some point. <a href="http://aarongodin.com/?p=6" rel="nofollow">http://aarongodin.com/?p=6</a> [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
