<?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: Removing Rails validations with metaprogramming</title>
	<atom:link href="http://casperfabricius.com/site/2008/12/06/removing-rails-validations-with-metaprogramming/feed/" rel="self" type="application/rss+xml" />
	<link>http://casperfabricius.com/site/2008/12/06/removing-rails-validations-with-metaprogramming/</link>
	<description>expert ruby on rails development</description>
	<lastBuildDate>Wed, 04 May 2011 02:45:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Simon</title>
		<link>http://casperfabricius.com/site/2008/12/06/removing-rails-validations-with-metaprogramming/comment-page-1/#comment-1619</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Tue, 02 Nov 2010 06:06:06 +0000</pubDate>
		<guid isPermaLink="false">http://casperfabricius.com/site/?p=153#comment-1619</guid>
		<description>Thank you!</description>
		<content:encoded><![CDATA[<p>Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Casper Fabricius</title>
		<link>http://casperfabricius.com/site/2008/12/06/removing-rails-validations-with-metaprogramming/comment-page-1/#comment-1362</link>
		<dc:creator>Casper Fabricius</dc:creator>
		<pubDate>Thu, 18 Feb 2010 08:04:28 +0000</pubDate>
		<guid isPermaLink="false">http://casperfabricius.com/site/?p=153#comment-1362</guid>
		<description>Ben, that looks awesome. Any chance you can change it into a plugin so it can be used in any Rails project?</description>
		<content:encoded><![CDATA[<p>Ben, that looks awesome. Any chance you can change it into a plugin so it can be used in any Rails project?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Casper Fabricius</title>
		<link>http://casperfabricius.com/site/2008/12/06/removing-rails-validations-with-metaprogramming/comment-page-1/#comment-312</link>
		<dc:creator>Casper Fabricius</dc:creator>
		<pubDate>Sun, 22 Feb 2009 15:40:17 +0000</pubDate>
		<guid isPermaLink="false">http://casperfabricius.com/site/?p=153#comment-312</guid>
		<description>Nice solution, Will - I actually like that better than mine for this particular case. It is cleaner as you say, and easier to read and understand - less magic. Still, I mostly blogged about my solution because I found it an interesting study into how far you can go with Ruby :)</description>
		<content:encoded><![CDATA[<p>Nice solution, Will &#8211; I actually like that better than mine for this particular case. It is cleaner as you say, and easier to read and understand &#8211; less magic. Still, I mostly blogged about my solution because I found it an interesting study into how far you can go with Ruby :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AC</title>
		<link>http://casperfabricius.com/site/2008/12/06/removing-rails-validations-with-metaprogramming/comment-page-1/#comment-267</link>
		<dc:creator>AC</dc:creator>
		<pubDate>Fri, 23 Jan 2009 20:19:19 +0000</pubDate>
		<guid isPermaLink="false">http://casperfabricius.com/site/?p=153#comment-267</guid>
		<description>Looks good.  I might have to use this for some crap validation that some plugins/gems have for email which deny valid RFC822 emails.</description>
		<content:encoded><![CDATA[<p>Looks good.  I might have to use this for some crap validation that some plugins/gems have for email which deny valid RFC822 emails.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aditya</title>
		<link>http://casperfabricius.com/site/2008/12/06/removing-rails-validations-with-metaprogramming/comment-page-1/#comment-249</link>
		<dc:creator>Aditya</dc:creator>
		<pubDate>Wed, 10 Dec 2008 03:52:45 +0000</pubDate>
		<guid isPermaLink="false">http://casperfabricius.com/site/?p=153#comment-249</guid>
		<description>haha - nope, I was going to propose we coerce^Wconvince Sean to add it to Radiant ;-) 

Great work on the extensions though, Josh Hart clued me in...</description>
		<content:encoded><![CDATA[<p>haha &#8211; nope, I was going to propose we coerce^Wconvince Sean to add it to Radiant ;-) </p>
<p>Great work on the extensions though, Josh Hart clued me in&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Casper Fabricius</title>
		<link>http://casperfabricius.com/site/2008/12/06/removing-rails-validations-with-metaprogramming/comment-page-1/#comment-247</link>
		<dc:creator>Casper Fabricius</dc:creator>
		<pubDate>Sun, 07 Dec 2008 10:01:01 +0000</pubDate>
		<guid isPermaLink="false">http://casperfabricius.com/site/?p=153#comment-247</guid>
		<description>It is a hack, and an ugly one at that, but since I was writing an extension to be released, I could not rely on changing someone else&#039;s code.

All changes had to be done from my code, but if you have a trick up your sleeve for adding that :if =&gt; without modifying existing code I&#039;d like to see it :)</description>
		<content:encoded><![CDATA[<p>It is a hack, and an ugly one at that, but since I was writing an extension to be released, I could not rely on changing someone else&#8217;s code.</p>
<p>All changes had to be done from my code, but if you have a trick up your sleeve for adding that :if => without modifying existing code I&#8217;d like to see it :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aditya</title>
		<link>http://casperfabricius.com/site/2008/12/06/removing-rails-validations-with-metaprogramming/comment-page-1/#comment-246</link>
		<dc:creator>Aditya</dc:creator>
		<pubDate>Sun, 07 Dec 2008 08:35:51 +0000</pubDate>
		<guid isPermaLink="false">http://casperfabricius.com/site/?p=153#comment-246</guid>
		<description>Whoa.  I was running into the exact same thing with mutli_site - login seems to be unque in the User model and there&#039;s no good way of removing the validation.  The thing I&#039;m proposing is to add an :if =&gt; should_validate_unique_login but I&#039;m not so sure if that&#039;s the best option...

Overriding validations just seems like a hack.</description>
		<content:encoded><![CDATA[<p>Whoa.  I was running into the exact same thing with mutli_site &#8211; login seems to be unque in the User model and there&#8217;s no good way of removing the validation.  The thing I&#8217;m proposing is to add an :if =&gt; should_validate_unique_login but I&#8217;m not so sure if that&#8217;s the best option&#8230;</p>
<p>Overriding validations just seems like a hack.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

