<?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: Multi Model Forms &#038; Validations in Ruby on Rails</title>
	<atom:link href="http://jimneath.org/2008/09/06/multi-model-forms-validations-in-ruby-on-rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://jimneath.org/2008/09/06/multi-model-forms-validations-in-ruby-on-rails/</link>
	<description>Ruby on Rails, Javascript, CSS and Standards</description>
	<pubDate>Tue, 06 Jan 2009 02:28:06 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Pepe Gonzales</title>
		<link>http://jimneath.org/2008/09/06/multi-model-forms-validations-in-ruby-on-rails/comment-page-1/#comment-714</link>
		<dc:creator>Pepe Gonzales</dc:creator>
		<pubDate>Thu, 06 Nov 2008 19:45:44 +0000</pubDate>
		<guid isPermaLink="false">http://jimneath.org/?p=55#comment-714</guid>
		<description>Question...
If all the save! calls are wrapped with a transaction, is running valid? on all models necessary?
I thought that if, for example, @dog isn't valid, the save! call will throw an exception, and the whole transaction will be undone (ie. @person and @cat will be destroyed).
Am I wrong?</description>
		<content:encoded><![CDATA[<p>Question&#8230;<br />
If all the save! calls are wrapped with a transaction, is running valid? on all models necessary?<br />
I thought that if, for example, @dog isn&#8217;t valid, the save! call will throw an exception, and the whole transaction will be undone (ie. @person and @cat will be destroyed).<br />
Am I wrong?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BradfordW</title>
		<link>http://jimneath.org/2008/09/06/multi-model-forms-validations-in-ruby-on-rails/comment-page-1/#comment-578</link>
		<dc:creator>BradfordW</dc:creator>
		<pubDate>Mon, 08 Sep 2008 16:07:53 +0000</pubDate>
		<guid isPermaLink="false">http://jimneath.org/?p=55#comment-578</guid>
		<description>Yea after seeing this trickle across dzone the first thing that popped into my head was the presenter model that ol' boy over at (http://jamesgolick.com/2008/7/28/introducing-activepresenter-the-presenter-library-you-already-know) did.

Glad I'm not the only one drinking the kool aid.</description>
		<content:encoded><![CDATA[<p>Yea after seeing this trickle across dzone the first thing that popped into my head was the presenter model that ol&#8217; boy over at (http://jamesgolick.com/2008/7/28/introducing-activepresenter-the-presenter-library-you-already-know) did.</p>
<p>Glad I&#8217;m not the only one drinking the kool aid.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: funfun</title>
		<link>http://jimneath.org/2008/09/06/multi-model-forms-validations-in-ruby-on-rails/comment-page-1/#comment-577</link>
		<dc:creator>funfun</dc:creator>
		<pubDate>Mon, 08 Sep 2008 15:22:48 +0000</pubDate>
		<guid isPermaLink="false">http://jimneath.org/?p=55#comment-577</guid>
		<description>very helpfull, thanks</description>
		<content:encoded><![CDATA[<p>very helpfull, thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan</title>
		<link>http://jimneath.org/2008/09/06/multi-model-forms-validations-in-ruby-on-rails/comment-page-1/#comment-576</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Mon, 08 Sep 2008 15:09:20 +0000</pubDate>
		<guid isPermaLink="false">http://jimneath.org/?p=55#comment-576</guid>
		<description>Very nice!</description>
		<content:encoded><![CDATA[<p>Very nice!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anon</title>
		<link>http://jimneath.org/2008/09/06/multi-model-forms-validations-in-ruby-on-rails/comment-page-1/#comment-574</link>
		<dc:creator>Anon</dc:creator>
		<pubDate>Mon, 08 Sep 2008 11:46:19 +0000</pubDate>
		<guid isPermaLink="false">http://jimneath.org/?p=55#comment-574</guid>
		<description>Hai! That fail is not epic!</description>
		<content:encoded><![CDATA[<p>Hai! That fail is not epic!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Liam Morley</title>
		<link>http://jimneath.org/2008/09/06/multi-model-forms-validations-in-ruby-on-rails/comment-page-1/#comment-571</link>
		<dc:creator>Liam Morley</dc:creator>
		<pubDate>Mon, 08 Sep 2008 09:07:53 +0000</pubDate>
		<guid isPermaLink="false">http://jimneath.org/?p=55#comment-571</guid>
		<description>Scratch that. I should look at more than just 'update'. This works just fine with attributes= in the update method.</description>
		<content:encoded><![CDATA[<p>Scratch that. I should look at more than just &#8216;update&#8217;. This works just fine with attributes= in the update method.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fadhli</title>
		<link>http://jimneath.org/2008/09/06/multi-model-forms-validations-in-ruby-on-rails/comment-page-1/#comment-570</link>
		<dc:creator>Fadhli</dc:creator>
		<pubDate>Mon, 08 Sep 2008 08:53:04 +0000</pubDate>
		<guid isPermaLink="false">http://jimneath.org/?p=55#comment-570</guid>
		<description>There's also another way in the Advanced Rails Recipe book for handling multiple-model in one form. It's a technique written by Ryan Bates. You can go check it 'em up too.</description>
		<content:encoded><![CDATA[<p>There&#8217;s also another way in the Advanced Rails Recipe book for handling multiple-model in one form. It&#8217;s a technique written by Ryan Bates. You can go check it &#8216;em up too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Liam Morley</title>
		<link>http://jimneath.org/2008/09/06/multi-model-forms-validations-in-ruby-on-rails/comment-page-1/#comment-569</link>
		<dc:creator>Liam Morley</dc:creator>
		<pubDate>Mon, 08 Sep 2008 08:18:02 +0000</pubDate>
		<guid isPermaLink="false">http://jimneath.org/?p=55#comment-569</guid>
		<description>Is there a nice way to do the same thing for the update method as well as create? I don't see any alternative to update_attributes that doesn't save the record...</description>
		<content:encoded><![CDATA[<p>Is there a nice way to do the same thing for the update method as well as create? I don&#8217;t see any alternative to update_attributes that doesn&#8217;t save the record&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim Neath</title>
		<link>http://jimneath.org/2008/09/06/multi-model-forms-validations-in-ruby-on-rails/comment-page-1/#comment-568</link>
		<dc:creator>Jim Neath</dc:creator>
		<pubDate>Mon, 08 Sep 2008 08:17:03 +0000</pubDate>
		<guid isPermaLink="false">http://jimneath.org/?p=55#comment-568</guid>
		<description>Thanks for all the replies. I didn't actually know you could do half the stuff proposed in the these comments, so thanks guys.

I'll update the article later on today so reflect everything you chaps have said.

Kudos to you :)</description>
		<content:encoded><![CDATA[<p>Thanks for all the replies. I didn&#8217;t actually know you could do half the stuff proposed in the these comments, so thanks guys.</p>
<p>I&#8217;ll update the article later on today so reflect everything you chaps have said.</p>
<p>Kudos to you :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Backeus</title>
		<link>http://jimneath.org/2008/09/06/multi-model-forms-validations-in-ruby-on-rails/comment-page-1/#comment-567</link>
		<dc:creator>David Backeus</dc:creator>
		<pubDate>Mon, 08 Sep 2008 08:08:50 +0000</pubDate>
		<guid isPermaLink="false">http://jimneath.org/?p=55#comment-567</guid>
		<description>You might want to have a look at the "presenter" pattern as well. Here is a nice implementation called ActivePresenter: http://jamesgolick.com/2008/7/28/introducing-activepresenter-the-presenter-library-you-already-know</description>
		<content:encoded><![CDATA[<p>You might want to have a look at the &#8220;presenter&#8221; pattern as well. Here is a nice implementation called ActivePresenter: <a href="http://jamesgolick.com/2008/7/28/introducing-activepresenter-the-presenter-library-you-already-know" rel="nofollow">http://jamesgolick.com/2008/7/28/introducing-activepresenter-the-presenter-library-you-already-know</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
