标签: mongoid
如何通过Mongoid使用copyDatabase功能?
Mongoid
# something like that ::Mongoid::Sessions.default.command('copyDatabase','production','staging')