0
在我的應用程序中,我使用rails 4.2.4
,它有activemodel 4.2.4
和mongoid 5.1.3
。現在我想將我的mongoid
版本升級到6.0.0
。正式they mention here它需要active model 5.0.0
。有什麼方法可以升級mongoid
?提前致謝。mongoid 6.0.0支持rails 4.X版本嗎?
在我的應用程序中,我使用rails 4.2.4
,它有activemodel 4.2.4
和mongoid 5.1.3
。現在我想將我的mongoid
版本升級到6.0.0
。正式they mention here它需要active model 5.0.0
。有什麼方法可以升級mongoid
?提前致謝。mongoid 6.0.0支持rails 4.X版本嗎?
不,它沒有。由於Mongoid 6.x依賴於Rails 5.x的組件,因此它不能包含在Rails 4應用程序中。
您可能想要使用仍在維護中的Mongoid 5.1.x。
謝謝。僅供參考:我已經在使用'mongoid 5.1。 3'根據我的問題:)。 –