Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (19 sloc) 1.328 kB


For instructions on upgrading to newer versions, visit

2.1.0 (unreleased)

Major Changes

  • Traditional slave support has been removed from Mongoid. Replica sets should be used in place of traditional master and slave setups.

New Features

  • #587 Added order preference to many and many to many associations (Gregory Man)

  • Added ability to chain order_by statements (Gregory Man)

  • #961 Allow arbitrary Mongo::Connection options to pass through Mongoid::Config::Database object. (Morgan Nelson)

  • Enable autosave for many to many references. (Dave Krupinski)

Bug Fixes

  • #974 Fix attribute_present? to work correctly then attribute value is false, thanks to @nickhoffman (Gregory Man)

  • #960 create indexes rake task is not recognizing a lot of mongoid models because it has problems guessing their model names from filenames (adyard)

  • #874 Deleting from a M-M reference is one-sided (nickhoffman, davekrupinski)

  • Replace deprecated class_inheritable_hash dropped in Rails 3.1+ (Konstantin Shabanov)

  • Fix inconsistent state when replacing an entire many to many relation

  • Don't clobber inheritable attributes when adding subclass field inheritance (Dave Krupinski)

  • #914 Querying embedded documents with '$or' selector (Max Golovnia)

Jump to Line
Something went wrong with that request. Please try again.