<?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: Custom Form Validations Without ActiveRecord</title>
	<atom:link href="http://blog.adsdevshop.com/2008/04/02/custom-form-validations-without-activerecord/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.adsdevshop.com/2008/04/02/custom-form-validations-without-activerecord/</link>
	<description>Fixing business by increasing collaboration and transparency.</description>
	<lastBuildDate>Tue, 09 Feb 2010 14:02:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ð’Ð»Ð°Ð´Ð¸Ð¼Ð¸Ñ€</title>
		<link>http://blog.adsdevshop.com/2008/04/02/custom-form-validations-without-activerecord/comment-page-1/#comment-9371</link>
		<dc:creator>Ð’Ð»Ð°Ð´Ð¸Ð¼Ð¸Ñ€</dc:creator>
		<pubDate>Fri, 22 May 2009 13:50:58 +0000</pubDate>
		<guid isPermaLink="false">http://rorblog.techcfl.com/?p=356#comment-9371</guid>
		<description>ÐÐ°Ð¿Ð¸ÑÐ°Ð½Ð¾ ÑÑƒÑ…Ð¾Ð²Ð°Ñ‚Ð¾, Ð½Ð¾ Ð²ÑÑ‘ Ñ€Ð°Ð²Ð½Ð¾ Ð·Ð°Ð½Ð¸Ð¼Ð°Ñ‚ÐµÐ»ÑŒÐ½Ð¾.</description>
		<content:encoded><![CDATA[<p>ÐÐ°Ð¿Ð¸ÑÐ°Ð½Ð¾ ÑÑƒÑ…Ð¾Ð²Ð°Ñ‚Ð¾, Ð½Ð¾ Ð²ÑÑ‘ Ñ€Ð°Ð²Ð½Ð¾ Ð·Ð°Ð½Ð¸Ð¼Ð°Ñ‚ÐµÐ»ÑŒÐ½Ð¾.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Walter Lockhart</title>
		<link>http://blog.adsdevshop.com/2008/04/02/custom-form-validations-without-activerecord/comment-page-1/#comment-6814</link>
		<dc:creator>Walter Lockhart</dc:creator>
		<pubDate>Thu, 31 Jul 2008 12:02:34 +0000</pubDate>
		<guid isPermaLink="false">http://rorblog.techcfl.com/?p=356#comment-6814</guid>
		<description>Re: Note: IÃ¢â‚¬Âm assuming you also know how to set up a mailer and the respective views. If you do not, comment below and I will add those pieces to this post if you desire.

Hi Chris,

I really enjoyed your post.

Would it be possible please to show how I would integrate these validations with a mailer and the respective views.  I am developing a special inquiry form that requires a number of fields to be validated before the result of the form is emailed.

Thanks in advance.

Kind Regards

Walter</description>
		<content:encoded><![CDATA[<p>Re: Note: IÃ¢â‚¬Âm assuming you also know how to set up a mailer and the respective views. If you do not, comment below and I will add those pieces to this post if you desire.</p>
<p>Hi Chris,</p>
<p>I really enjoyed your post.</p>
<p>Would it be possible please to show how I would integrate these validations with a mailer and the respective views.  I am developing a special inquiry form that requires a number of fields to be validated before the result of the form is emailed.</p>
<p>Thanks in advance.</p>
<p>Kind Regards</p>
<p>Walter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chad</title>
		<link>http://blog.adsdevshop.com/2008/04/02/custom-form-validations-without-activerecord/comment-page-1/#comment-6678</link>
		<dc:creator>Chad</dc:creator>
		<pubDate>Thu, 19 Jun 2008 19:41:05 +0000</pubDate>
		<guid isPermaLink="false">http://rorblog.techcfl.com/?p=356#comment-6678</guid>
		<description>Thanks for your contribution!

However, you should also look at a plugin called activerecord_base_without_table. 

It allows you to define models that do not save into the database.   I found this solution worked better for me because you end up with objects that are a little more compatible with the rest of the rails world.  For example, I wanted to use the &#039;human_attribute_override&#039; plugin for prettier error messages.  This also solves Billy&#039;s problem above where he wanted to write custom validations.  And it&#039;s a plugin rather than a gem, so it should make WN happy.

The plugin is remarkably short and sweet (only 26 lines long).   However, sadly the author has not upgraded it to be compatible with rails 2.  If you&#039;re using rails 2, you need to edit one line:  The call to readmethods on line 21 must be changed to generated_methods.

Good luck, and I hope this helps!

Here is the URL for the plugin:

http://agilewebdevelopment.com/plugins/activerecord_base_without_table</description>
		<content:encoded><![CDATA[<p>Thanks for your contribution!</p>
<p>However, you should also look at a plugin called activerecord_base_without_table. </p>
<p>It allows you to define models that do not save into the database.   I found this solution worked better for me because you end up with objects that are a little more compatible with the rest of the rails world.  For example, I wanted to use the &#8216;human_attribute_override&#8217; plugin for prettier error messages.  This also solves Billy&#8217;s problem above where he wanted to write custom validations.  And it&#8217;s a plugin rather than a gem, so it should make WN happy.</p>
<p>The plugin is remarkably short and sweet (only 26 lines long).   However, sadly the author has not upgraded it to be compatible with rails 2.  If you&#8217;re using rails 2, you need to edit one line:  The call to readmethods on line 21 must be changed to generated_methods.</p>
<p>Good luck, and I hope this helps!</p>
<p>Here is the URL for the plugin:</p>
<p><a href="http://agilewebdevelopment.com/plugins/activerecord_base_without_table" rel="nofollow">http://agilewebdevelopment.com/plugins/activerecord_base_without_table</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WN</title>
		<link>http://blog.adsdevshop.com/2008/04/02/custom-form-validations-without-activerecord/comment-page-1/#comment-6629</link>
		<dc:creator>WN</dc:creator>
		<pubDate>Wed, 28 May 2008 15:27:10 +0000</pubDate>
		<guid isPermaLink="false">http://rorblog.techcfl.com/?p=356#comment-6629</guid>
		<description>Question from a RoR novice, Is it possible to have this as a plugin ?</description>
		<content:encoded><![CDATA[<p>Question from a RoR novice, Is it possible to have this as a plugin ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Billy</title>
		<link>http://blog.adsdevshop.com/2008/04/02/custom-form-validations-without-activerecord/comment-page-1/#comment-6471</link>
		<dc:creator>Billy</dc:creator>
		<pubDate>Thu, 24 Apr 2008 19:11:54 +0000</pubDate>
		<guid isPermaLink="false">http://rorblog.techcfl.com/?p=356#comment-6471</guid>
		<description>While this looks like a promising gem, it lacks a lot of the more powerful ActiveRecord class methods, such as validate ! You cannot specify custom validations with this gem. You are constrained to the 6 or 8 validates_x methods it provides. Hopefully this will be fixed in the future.</description>
		<content:encoded><![CDATA[<p>While this looks like a promising gem, it lacks a lot of the more powerful ActiveRecord class methods, such as validate ! You cannot specify custom validations with this gem. You are constrained to the 6 or 8 validates_x methods it provides. Hopefully this will be fixed in the future.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jordan</title>
		<link>http://blog.adsdevshop.com/2008/04/02/custom-form-validations-without-activerecord/comment-page-1/#comment-6415</link>
		<dc:creator>Jordan</dc:creator>
		<pubDate>Wed, 16 Apr 2008 18:26:28 +0000</pubDate>
		<guid isPermaLink="false">http://rorblog.techcfl.com/?p=356#comment-6415</guid>
		<description>This was perfect.  Thanks.</description>
		<content:encoded><![CDATA[<p>This was perfect.  Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thando Vuzane - Net Age</title>
		<link>http://blog.adsdevshop.com/2008/04/02/custom-form-validations-without-activerecord/comment-page-1/#comment-6407</link>
		<dc:creator>Thando Vuzane - Net Age</dc:creator>
		<pubDate>Mon, 14 Apr 2008 10:48:57 +0000</pubDate>
		<guid isPermaLink="false">http://rorblog.techcfl.com/?p=356#comment-6407</guid>
		<description>Hey, Thank you for the above. I was cracking my skull over it. You have relieved me from a lot of mind strain.</description>
		<content:encoded><![CDATA[<p>Hey, Thank you for the above. I was cracking my skull over it. You have relieved me from a lot of mind strain.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rails Podcast Brasil - EpisÃ³dio 12</title>
		<link>http://blog.adsdevshop.com/2008/04/02/custom-form-validations-without-activerecord/comment-page-1/#comment-6360</link>
		<dc:creator>Rails Podcast Brasil - EpisÃ³dio 12</dc:creator>
		<pubDate>Mon, 07 Apr 2008 13:30:32 +0000</pubDate>
		<guid isPermaLink="false">http://rorblog.techcfl.com/?p=356#comment-6360</guid>
		<description>[...] Custom Form Validations Without ActiveRecord [...]</description>
		<content:encoded><![CDATA[<p>[...] Custom Form Validations Without ActiveRecord [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: A Fresh Cup &#187; Blog Archive &#187; Double Shot #180</title>
		<link>http://blog.adsdevshop.com/2008/04/02/custom-form-validations-without-activerecord/comment-page-1/#comment-6348</link>
		<dc:creator>A Fresh Cup &#187; Blog Archive &#187; Double Shot #180</dc:creator>
		<pubDate>Fri, 04 Apr 2008 11:18:31 +0000</pubDate>
		<guid isPermaLink="false">http://rorblog.techcfl.com/?p=356#comment-6348</guid>
		<description>[...] Custom Forms Validation Without ActiveRecord - Using the validatable plugin. [...]</description>
		<content:encoded><![CDATA[<p>[...] Custom Forms Validation Without ActiveRecord &#8211; Using the validatable plugin. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
