Add note for #2586
Add note for #2586
Ensure no extra queries executed on 1-1 build.

If we have a new parent and a new child, there is no reason to ever
attempt to query the db.

[ fix #2639 ]
Beefing up expectations on eager loading specs
Fix eager loading after calling first or last.

Instead of clearing the inclusions when the criteria has been eager
loaded, we now keep them and track documents that have had their
relations eager loaded individually. This allows multiple first/last
calls not to trigger subsequent db calls, and for iterating over a
criteria's full result set after calling first/last to eager load the
results properly.

[ fix #2638 ]
Add instance level model_name on documents.

[ fix #2661 ]
Allow store_in values to be procs:

Example:

  class Band
    include Mongoid::Document
    store_in database: ->{ Thread.current[:database] }
  end

[ fix #2613 ]
criteria.(new|build|create) now accepts a block.

This behaviour is expected in Mongoid as this is implemented in ActiveRecord
Fixes [ #2668 ]
fixing reversed pattern on specs
Update changelog. [ close #2668 ]
Allow matches? to work with symbol keys in the selector.
Update changelog, slight refactor
fix spec with wrong ordering for Mongoid::Contextual::Memory with multiple sort fields
fix implementation of Mongoid::Contextual::Memory#in_place_sort with multiple fields
Update changelog
adding logger get/set to Config module
Update changelog
fixes alias for atomic operations in the context [ #2673 ]

Fixed contextual/atomic.rb to use database_field_name to resolve alias
Fix spacing
Update changelog, close #2683, fix #2673