<?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: db fixtures replacement solution step by step</title>
	<atom:link href="http://railsontherun.com/2008/09/07/db-fixtures-replacement-solution-step-by-step/feed/" rel="self" type="application/rss+xml" />
	<link>http://railsontherun.com/2008/09/07/db-fixtures-replacement-solution-step-by-step/</link>
	<description>Rails experiments by Matt Aimonetti</description>
	<lastBuildDate>Tue, 23 Feb 2010 22:05:18 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Nicolas Mérouze</title>
		<link>http://railsontherun.com/2008/09/07/db-fixtures-replacement-solution-step-by-step/comment-page-1/#comment-1715</link>
		<dc:creator>Nicolas Mérouze</dc:creator>
		<pubDate>Sun, 07 Sep 2008 16:06:00 +0000</pubDate>
		<guid isPermaLink="false">http://railsontherun.com/2008/09/07/db-fixtures-replacement-solution-step-by-step#comment-1715</guid>
		<description>Why not to use merb-fixtures with merb? It looks like it&#039;s pretty much the same. (because factory_girl is one library which can be used everywhere ?)</description>
		<content:encoded><![CDATA[<p>Why not to use merb-fixtures with merb? It looks like it&#8217;s pretty much the same. (because factory_girl is one library which can be used everywhere ?)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Aimonetti</title>
		<link>http://railsontherun.com/2008/09/07/db-fixtures-replacement-solution-step-by-step/comment-page-1/#comment-1716</link>
		<dc:creator>Matt Aimonetti</dc:creator>
		<pubDate>Sun, 07 Sep 2008 16:06:00 +0000</pubDate>
		<guid isPermaLink="false">http://railsontherun.com/2008/09/07/db-fixtures-replacement-solution-step-by-step#comment-1716</guid>
		<description>@nicolas  good question! So you have 2 alternatives quite popular in the Merb world:

[merb-fixtures](http://github.com/botanicus/merb-fixtures/tree/master) and [dm-sweatshop](http://github.com/sam/dm-more/tree/master/dm-sweatshop/README.textile)  while both options are pretty good they are not framework/ORM agnostic.

Also merb-fixtures doesn&#039;t auto save fixtures like when you do Factory(:client) instead of Factory.build(:client) and the declaration of associations is dodgy IMHO. (plus it has a limited API, no support for seques etc...)

dm-sweatshop is better than merb-fixtures but only works with DM at the moment. (it used to be ORM agnostic) It has a great API and offers most of the sexiness from factory_girl.</description>
		<content:encoded><![CDATA[<p>@nicolas  good question! So you have 2 alternatives quite popular in the Merb world:</p>
<p>[merb-fixtures](http://github.com/botanicus/merb-fixtures/tree/master) and [dm-sweatshop](http://github.com/sam/dm-more/tree/master/dm-sweatshop/README.textile)  while both options are pretty good they are not framework/ORM agnostic.</p>
<p>Also merb-fixtures doesn&#8217;t auto save fixtures like when you do Factory(:client) instead of Factory.build(:client) and the declaration of associations is dodgy IMHO. (plus it has a limited API, no support for seques etc&#8230;)</p>
<p>dm-sweatshop is better than merb-fixtures but only works with DM at the moment. (it used to be ORM agnostic) It has a great API and offers most of the sexiness from factory_girl.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bryan Ray</title>
		<link>http://railsontherun.com/2008/09/07/db-fixtures-replacement-solution-step-by-step/comment-page-1/#comment-1717</link>
		<dc:creator>Bryan Ray</dc:creator>
		<pubDate>Sun, 07 Sep 2008 16:06:00 +0000</pubDate>
		<guid isPermaLink="false">http://railsontherun.com/2008/09/07/db-fixtures-replacement-solution-step-by-step#comment-1717</guid>
		<description>Thanks for the write up, Matt.

I typically used the object_daddy plugin in Rails and wasn&#039;t sure anything like this was out there for Merb.

I&#039;ll be playing with factory_girl and dm-sweatshop this weekend.</description>
		<content:encoded><![CDATA[<p>Thanks for the write up, Matt.</p>
<p>I typically used the object_daddy plugin in Rails and wasn&#8217;t sure anything like this was out there for Merb.</p>
<p>I&#8217;ll be playing with factory_girl and dm-sweatshop this weekend.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: grosser</title>
		<link>http://railsontherun.com/2008/09/07/db-fixtures-replacement-solution-step-by-step/comment-page-1/#comment-1718</link>
		<dc:creator>grosser</dc:creator>
		<pubDate>Sun, 07 Sep 2008 16:06:00 +0000</pubDate>
		<guid isPermaLink="false">http://railsontherun.com/2008/09/07/db-fixtures-replacement-solution-step-by-step#comment-1718</guid>
		<description>a great deal of these tests can be simplified to something like

assert_invalid_attributes User, :login=&gt;[&#039;&#039;,nil,&#039;admin&#039;], :email=&gt;[&#039;&#039;,nil,&#039;aa&#039;] etc

http://pragmatig.wordpress.com/2008/04/04/testing-validation-the-dry-way/

especially the == &quot;less than xx and more than yy&quot; test semm very brittle to me, add one character and boom.. not very maintainable</description>
		<content:encoded><![CDATA[<p>a great deal of these tests can be simplified to something like</p>
<p>assert_invalid_attributes User, :login=&gt;['',nil,'admin'], :email=&gt;['',nil,'aa'] etc</p>
<p><a href="http://pragmatig.wordpress.com/2008/04/04/testing-validation-the-dry-way/" rel="nofollow">http://pragmatig.wordpress.com/2008/04/04/testing-validation-the-dry-way/</a></p>
<p>especially the == &quot;less than xx and more than yy&quot; test semm very brittle to me, add one character and boom.. not very maintainable</p>
]]></content:encoded>
	</item>
</channel>
</rss>
