Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

51 lines (44 sloc) 2.741 kb
0.3.2 (master)
* Added many polymorphic documents association
* Implemented build and create for many and many polymorphic documents
* <<, push and concat now work correctly for many and many polymorphic documents
* find(:first) now accepts order option
0.3.1 7/28/2009
* 1 minor tweak
* Removed deep_merge gem as dependency as ActiveSupport has deep_merge that works good enough
0.3.0 7/28/2009
* 5 major additions, 3 minor additions, 3 bug fix, and other miscellany
* BACKWORDS COMPATIBILITY BREAK: _id is now stored in binary form (recommended by mongodb team) instead of string, api is the same everywhere as before but data stored with string id's previous to change will need to be updated
* Added Document#paginate which works just like find but adds pagination (dcu did basics and I pimped)
* Added a basic console for playing around with MongoMapper (dcu)
* Embedded associations can now be deeply nested (Keith Hanson)
* Added support for many polymorphic documents (Felipe Coury and Me)
* Fixed bug where conditions that disallowed using $in, $all and $any with an array
* Bumped version of validatable so :if validation option supports symbol/string to proc.
* Document#create with no attributes now creates a document as long as it is valid
* Now defining accessor methods when key is declared rather than using method missing and all that jazz
* Attributes now have boolean methods that return true or false based on whether they have value present
* Added scoped finds and pagination on many document association.
* find first and last now use natural order which is more reliable.
* Updated to latest ruby driver (0.10.1)
0.2.0 7/7/2009
* 2 major additions (observers, associations), several minor additions, and a few bug fixes
* Added observers
* many now supports embedded docs or docs in another collection (dcu on github)
* added belongs_to association (dcu)
* added validates_uniqueness_of (dcu)
* added :unique key shortcut to add validates_uniqueness_of automatically
* now tracking descendants of document (dcu)
* added validates_exclusion_of and validates_inclusion_of
* Bumped required version of validatable for callback fixes
* More thorough use of converting find conditions and options to mongo speak
* #attributes= no longer bombs when given nil
0.1.2 7/3/2009
* 2 minor changes
* Straightened out callbacks and added validate, validate_on_create and validate_on_update.
* Attributes passed into attributes= now call writer methods if they exist. This is mostly for virtual attributes.
0.1.1 6/28/2009
* 1 minor change
* bumped ruby driver to 0.9 and removed hacks I had in while waiting for it
0.1.0 6/26/2009
* Initial release
Jump to Line
Something went wrong with that request. Please try again.