Hah, I didn't know about dm-sweatshop, thanks.  Looking over the documentation, 
I'd probably opt for this over factory girl… I'm not a big fan of factory 
girl's creation methods.


On 15/11/2011, at 12:22 AM, Ted Han wrote:

> Hey guys, don't forget about dm-sweatshop, which has been built for 
> datamapper for yeaaaars, and works very well.  It's also programmatically 
> accessible, so you can tinker with it and rework components of it as you wish.
> 
> -- 
> Ted Han
> @knowtheory
> DocumentCloud
> Investigative Reporters & Editors
> 
> On Monday, November 14, 2011 at 7:20 AM, Chris Corbyn wrote:
> 
>> Nice, thanks :)
>> 
>> You may also be interested in Machinist: 
>> https://github.com/notahat/machinist (there is a machinist-dm gem 
>> https://github.com/d11wtq/machinist-dm)
>> 
>> That said, Emmanuel and I did the work (nothing difficult) to get machinist 
>> working with DM and I actually now think machinist is a dead project.  The 
>> guy who writes it is based here in Melbourne and appears to have lost 
>> interest in it.  We'll probably move to FactoryGirl when we have chance to 
>> migrate our fixtures (I haven't looked into if this is feasible or not).
>> 
>> 
>> On 15/11/2011, at 12:11 AM, FND wrote:
>> 
>>> Hi all,
>>> 
>>> Since I often need to create a bunch of data - usually for  testing,
>>> whether manual (seeds) or automated (fixtures) - and I like text files,
>>> I created some code to generate instances from YAML.
>>> 
>>> Since I figured this might be useful for others, I've extracted it into
>>> a generic gem:
>>> https://github.com/FND/dm-maker
>>> 
>>> (I'm rather new to this, so feel free to point out any flaws or issues -
>>> even if it seems like an insignificant detail)
>>> 
>>> I'm aware that there's a YAML adapter, but this isn't quite the same
>>> since the adapter serialization's main purpose is machine-readability.
>>> 
>>> 
>>> -- F.
>>> 
>>> -- 
>>> You received this message because you are subscribed to the Google Groups 
>>> "DataMapper" group.
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to 
>>> [email protected].
>>> For more options, visit this group at 
>>> http://groups.google.com/group/datamapper?hl=en.
>>> 
>> 
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "DataMapper" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to 
>> [email protected].
>> For more options, visit this group at 
>> http://groups.google.com/group/datamapper?hl=en.
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "DataMapper" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/datamapper?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en.

Reply via email to