Machinist 1.0, now with DataMapper support

June 3, 2009

Machinist 1.0 is now available on GitHub!

The major feature is DataMapper support. Big thanks to Daniel Neighman for his help with this.

Update: I wrote up a simple example of how Machinist intelligently handles associations in DataMapper and ActiveRecord.

You can also now blueprint plain old Ruby objects.

It's easy to add support for other ORM layers. If you're keen, take a look at lib/machinist/active_record.rb for a comprehensive example of how it's done.

Upgrading

If you've installed it as a gem:

sudo gem update notahat-machinist

If you're using it as a Rails plugin:

./script/plugin install --force git://github.com/notahat/machinist.git

Important: You now have to require Machinist and Sham in your blueprints.rb:

require 'machinist/active_record'
require 'sham'

Substitute in data_mapper if that's your weapon of choice.

Congratulations on the 1.0!

June 3, 2009

Freakin' awesome dude. Love it.

June 3, 2009

Yay! Everything is green! Totally depend on it.

Steve Ross
June 3, 2009

Nice one Pete.

Mike Williams
June 3, 2009

Eat that factory girl. Congrats!

June 8, 2009