Just put together a merb port for a very useful Rails plugin called SeedFu, converted over for use with Merb / Datamapper. Currently provides a rake task (db:seed) that enables you to easily define prepopulated data. It's more tuned to production data, so if you have to prepopulate categories, users, or option tables, this can work well. dm-sweatshop is still much better suited for populating test data.
It's up on rubyforge, so to use it, you can just add the dependency: dependency "merb_seed", ">= 0.1.0" Here's an example seed file I'm using to prepopulate my States table http://gist.github.com/64978 If anyone is interested, would love some help to get ActiveRecord and Sequel support added. http://github.com/merbjedi/merb_seed --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" 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/merb?hl=en -~----------~----~----~----~------~----~------~--~---
