Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我一直使用 Mongoid 作为驱动程序,但现在我应该使用 Mongo 驱动程序将文件保存到 GridFS。我不明白,如何将 Mongo 混合到模型中,以及我应该在哪里放置显式连接代码。你能帮帮我吗?