<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>game, game. repeat. &#187; empty email</title>
	<atom:link href="http://ggr.com/tag/empty-email/feed" rel="self" type="application/rss+xml" />
	<link>http://ggr.com</link>
	<description>if Scott Bonds had a home on the interwebs, this would be it</description>
	<lastBuildDate>Tue, 07 Feb 2012 00:11:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How To Permit A Blank Email Field With AuthLogic</title>
		<link>http://ggr.com/how-to-permit-a-blank-email-field-with-authlogic.html</link>
		<comments>http://ggr.com/how-to-permit-a-blank-email-field-with-authlogic.html#comments</comments>
		<pubDate>Wed, 09 Sep 2009 19:32:12 +0000</pubDate>
		<dc:creator>Scott Bonds</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[authlogic]]></category>
		<category><![CDATA[blank email]]></category>
		<category><![CDATA[empty email]]></category>
		<category><![CDATA[no email]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ruby on rails]]></category>

		<guid isPermaLink="false">http://ggr.com/?p=380</guid>
		<description><![CDATA[I too ran into some trouble before discovering that my beloved AuthLogic is validating my email field. The validation is a good thing overall, but I want to support blank email addresses as well as properly formatted ones. It&#8217;s all in the AuthLogic docs of course, but if I can save you a few minutes [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://ggr.com/how-to-permit-a-blank-email-field-with-authlogic.html"><img class="size-full wp-image-381 aligncenter" title="errors from blank email with AuthLogic" src="http://ggr.com/wp-content/uploads/errors-from-blank-email-with-AuthLogic.jpg" alt="errors from blank email with AuthLogic" width="580" height="282" /></a></p>
<p>I too <a href="http://ficial.wordpress.com/2009/03/15/ruby-on-rails-getting-error-messages-authlogic-email-validation/">ran into some trouble</a> before discovering that my beloved AuthLogic is validating my email field.  The validation is a good thing overall, but I want to support blank email addresses as well as properly formatted ones.</p>
<p><span id="more-380"></span></p>
<p>It&#8217;s all in the AuthLogic docs of course, but if I can save you a few minutes of hunting around, that&#8217;s all good:</p>
<p><code><br />
acts_as_authentic do |c|<br />
&nbsp;&nbsp;c.merge_validates_length_of_email_field_options({:allow_nil =&gt; true})<br />
&nbsp;&nbsp;c.merge_validates_format_of_email_field_options({:allow_nil =&gt; true})<br />
end<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://ggr.com/how-to-permit-a-blank-email-field-with-authlogic.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

