<?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: Testing accepts_nested_attributes_for with a shoulda macros</title>
	<atom:link href="http://mediumexposure.com/testing-acceptsnestedattributesfor-shoulda-macros/feed/" rel="self" type="application/rss+xml" />
	<link>http://mediumexposure.com/testing-acceptsnestedattributesfor-shoulda-macros/</link>
	<description>by Maxim Chernyak</description>
	<lastBuildDate>Sat, 04 Sep 2010 14:49:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: hakunin</title>
		<link>http://mediumexposure.com/testing-acceptsnestedattributesfor-shoulda-macros/comment-page-1/#comment-190</link>
		<dc:creator>hakunin</dc:creator>
		<pubDate>Tue, 19 May 2009 15:51:22 +0000</pubDate>
		<guid isPermaLink="false">#comment-190</guid>
		<description>&lt;p&gt;It is now part of &lt;a href=&quot;http://mediumexposure.com/techblog/shmacros&quot;&gt;shmacros&lt;/a&gt;. I&#039;d rather stick to that plugin for now. : )&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<div style=""><p></p><p>It is now part of <a href="http://mediumexposure.com/techblog/shmacros">shmacros</a>. I&#8217;d rather stick to that plugin for now. : )</p></div>]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Hinze</title>
		<link>http://mediumexposure.com/testing-acceptsnestedattributesfor-shoulda-macros/comment-page-1/#comment-107</link>
		<dc:creator>Paul Hinze</dc:creator>
		<pubDate>Tue, 19 May 2009 15:42:50 +0000</pubDate>
		<guid isPermaLink="false">#comment-107</guid>
		<description>&lt;p&gt;Ahh, just what I was looking for.  Thanks for saving me the hassle of having to write this!&lt;/p&gt;

&lt;p&gt;You should see if you can get this upstream in shoulda with a pull request... just add it to this file:&lt;/p&gt;

&lt;p&gt;http://github.com/thoughtbot/shoulda/blob/7d6aa5b6ecceef0bef3399bc328275a3700e06ac/lib/shoulda/active_record/macros.rb&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Ahh, just what I was looking for.  Thanks for saving me the hassle of having to write this!</p>

<p>You should see if you can get this upstream in shoulda with a pull request&#8230; just add it to this file:</p>

<p><a href="http://github.com/thoughtbot/shoulda/blob/7d6aa5b6ecceef0bef3399bc328275a3700e06ac/lib/shoulda/active_record/macros.rb" rel="nofollow">http://github.com/thoughtbot/shoulda/blob/7d6aa5b6ecceef0bef3399bc328275a3700e06ac/lib/shoulda/active_record/macros.rb</a></p>]]></content:encoded>
	</item>
	<item>
		<title>By: hakunin</title>
		<link>http://mediumexposure.com/testing-acceptsnestedattributesfor-shoulda-macros/comment-page-1/#comment-188</link>
		<dc:creator>hakunin</dc:creator>
		<pubDate>Thu, 30 Apr 2009 15:01:24 +0000</pubDate>
		<guid isPermaLink="false">#comment-188</guid>
		<description>&lt;p&gt;This is strictly a unit test, verifying that model has accepts_nested_attributes_for declared. If you want to test its behavior in the context of your app - you&#039;d have to write custom tests in your functionals.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<div style=""><p></p><p>This is strictly a unit test, verifying that model has accepts_nested_attributes_for declared. If you want to test its behavior in the context of your app &#8211; you&#8217;d have to write custom tests in your functionals.</p></div>]]></content:encoded>
	</item>
	<item>
		<title>By: Amol Hatwar</title>
		<link>http://mediumexposure.com/testing-acceptsnestedattributesfor-shoulda-macros/comment-page-1/#comment-102</link>
		<dc:creator>Amol Hatwar</dc:creator>
		<pubDate>Tue, 28 Apr 2009 13:54:44 +0000</pubDate>
		<guid isPermaLink="false">#comment-102</guid>
		<description>&lt;p&gt;Neat. How would pass these nested attributes as params for controller tests, say if you are using Factory Girl for stepping away from fixtures...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Neat. How would pass these nested attributes as params for controller tests, say if you are using Factory Girl for stepping away from fixtures&#8230;</p>]]></content:encoded>
	</item>
	<item>
		<title>By: hakunin</title>
		<link>http://mediumexposure.com/testing-acceptsnestedattributesfor-shoulda-macros/comment-page-1/#comment-187</link>
		<dc:creator>hakunin</dc:creator>
		<pubDate>Tue, 24 Feb 2009 04:48:23 +0000</pubDate>
		<guid isPermaLink="false">#comment-187</guid>
		<description>&lt;p&gt;In order to get that method you&#039;ll either have to get yourself up to tag 2.3.0 or get Edge. 2.2.2 didn&#039;t have this feature yet.  For more info check out &lt;a href=&quot;http://ryandaigle.com/articles/2009/2/1/what-s-new-in-edge-rails-nested-attributes&quot;&gt;this blog post&lt;/a&gt;. In fact, I suggest you subscribe to that blog for clean and concise updates on what&#039;s going on with rails.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<div style=""><p></p><p>In order to get that method you&#8217;ll either have to get yourself up to tag 2.3.0 or get Edge. 2.2.2 didn&#8217;t have this feature yet.  For more info check out <a href="http://ryandaigle.com/articles/2009/2/1/what-s-new-in-edge-rails-nested-attributes">this blog post</a>. In fact, I suggest you subscribe to that blog for clean and concise updates on what&#8217;s going on with rails.</p></div>]]></content:encoded>
	</item>
	<item>
		<title>By: Greg Williams</title>
		<link>http://mediumexposure.com/testing-acceptsnestedattributesfor-shoulda-macros/comment-page-1/#comment-77</link>
		<dc:creator>Greg Williams</dc:creator>
		<pubDate>Tue, 24 Feb 2009 04:03:15 +0000</pubDate>
		<guid isPermaLink="false">#comment-77</guid>
		<description>&lt;p&gt;Hi,
Since you have been able to get accepts_nested_attributes_for to work, I am hoping that you can tell me what I need to do.  I have installed the latest activerecord gem 2.2.2, but I don&#039;t seem to have this method.  The api info says that it is in activerecord/lib/active_record/nested_attributes.rb, but I have no such file.  What am I missing?  Thanks.
Greg&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi,
Since you have been able to get accepts_nested_attributes_for to work, I am hoping that you can tell me what I need to do.  I have installed the latest activerecord gem 2.2.2, but I don&#8217;t seem to have this method.  The api info says that it is in activerecord/lib/active_record/nested_attributes.rb, but I have no such file.  What am I missing?  Thanks.
Greg</p>]]></content:encoded>
	</item>
</channel>
</rss>
