mongoid如何为测试和生产环境创建索引?我的意思是
rake db:mongoid:create_indexes => environment
如何设置环境?
我使用mongoid 2.4.9和rails 3.2.7.
mongodb mongoid
mongodb ×1
mongoid ×1