paulelliott/fabrication — pull request #103 by mattbeedle (2012-05-05 13:07:15+00:00)
Title: Add DataMapper support (save! in datamapper ignores callbacks)

Hey,

Thanks for writing fabrication. I use it in all my apps now. I was having some problems in a data mapper project though. The base generator calls save! by default. Bang methods in data mapper bypass callbacks instead of throwing exceptions so none of my callbacks were running when fabricating models. Here's a data mapper generator.

Thanks,

Matt