<?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"
	>
<channel>
	<title>Comments on: Data Persistence on a Multi Page Signup Form in Rails</title>
	<atom:link href="http://blog.jayamster.com/handling-a-multi-page-signup-form-in-rails/2008/09/23/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.jayamster.com/handling-a-multi-page-signup-form-in-rails/2008/09/23/</link>
	<description>keeping things simple (hopefully)</description>
	<pubDate>Fri, 30 Jul 2010 10:43:40 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Ryan Platte</title>
		<link>http://blog.jayamster.com/handling-a-multi-page-signup-form-in-rails/2008/09/23/#comment-4215</link>
		<dc:creator>Ryan Platte</dc:creator>
		<pubDate>Mon, 15 Jun 2009 14:52:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jayamster.com/handling-a-multi-page-signup-form-in-rails/2008/09/23/#comment-4215</guid>
		<description>I was looking to do exactly this to build up a pair of objects in a multi-page flow without rendering form fields for both of them each time. 

Looks pretty good, thanks for posting it. Comments:

Instead of saying value.class == HashWithIndifferentAccess, you can say value.is_a? Hash, since both Hash and HashWithIndifferentAccess respond true to that method call.

Also, not a bug but to make the id you could do something like (scope + [key]).join('_').

Finally, if someone's supplying their own keys to reject, I'd replace the default rejections so they get full control.</description>
		<content:encoded><![CDATA[<p>I was looking to do exactly this to build up a pair of objects in a multi-page flow without rendering form fields for both of them each time. </p>
<p>Looks pretty good, thanks for posting it. Comments:</p>
<p>Instead of saying value.class == HashWithIndifferentAccess, you can say value.is_a? Hash, since both Hash and HashWithIndifferentAccess respond true to that method call.</p>
<p>Also, not a bug but to make the id you could do something like (scope + [key]).join(&#8217;_').</p>
<p>Finally, if someone&#8217;s supplying their own keys to reject, I&#8217;d replace the default rejections so they get full control.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
