DataMapper + RSpec + Haml + FactoryGirl Scaffold Generator

This is an super - uber version of the RSpec Scaffold Generator, the following things have been added:

DataMapper Support for Haml instead of erb Nested routes (nested tests/migrations)

Also assumes you’re using factory girl and factory girl extensions.

Examples:

./script/generate dm_haml_scaffold post # no attributes, view will be anemic
./script/generate dm_haml_scaffold post attribute:string attribute:boolean

Credits

* Daniel Fischer - http://danielfischer.com
* Zach Inglis - http://zachinglis.com
* BM5k - http://me.bm5k.com