上QQ阅读APP看书,第一时间看更新
Notice about Mongoid 2.x
It's important to realize that quite a bit has changed between the two major releases of Mongoid. It's an uncanny coincidence that just like Rails, major versions (2.x and 3.x) differ from each other vastly. Let's take a look at some of the differences between Mongoid 2.x and Mongoid 3.x.
- Mongoid 3.x and later versions support Ruby 1.9.3 and onwards only.
- There are entirely new options in
mongoid.yml
for database configuration. - Mongoid has changed its serialization mechanism.
- Apart from these, there are quite a few more changes, which have made using Mongoid better and faster.