Mongomapper - bootstrapping techniques
I've just begun creating a rails application using mongomapper for my models. I'm wondering what solution should I use for bootstrapping my app with it.
All my previous experience is with ActiveRecord & PostgreSQL, in which I have used several gems for bootstrapping. The one I liked the most开发者_StackOverflow中文版 was bootstrapper (+ factorygirl + faker).
Does anyone know whether these work ok with mongomapper? Can anyone suggest better alternatives? Is there anything obvious I need to know when bootstrapping mongodb?
Factory_girl and faker works fine with MongoMapper.
So you can bootstrap your Rails app in the same way that before. Made some data in your db/seed.rb
精彩评论