Tags: archit/mongomapper
Tags
Release 0.8.0.
Highlights:
* Sexy query language ie: Foo.where(...).sort(...).limit(...)
* Scopes. ie: scope :published, lambda { where(:published_at.lte => Time.now.utc) }
* Accessible plugin that works like attr_accessible in Rails.
* Cache key method to make caching easier.
* Plucky and Ruby driver upgrades
* New option :typecast for Array keys ie: key :user_ids, Array, :typecast => 'ObjectId'
* Far more obvious about core extensions. Now live in lib/mongo_mapper/extensions and are included in ancestors instead of just opening core classes.
* Added an UPGRADES file which will denote backwards compat breaking from now on.
* A bajillion little bug fixes and improvements.
Release 0.7.6. * Documents now load from database using write_key instead of public accessors which allows you to update public accessor and not affect querying/loading from the db * Document.set now typecasts values before performing the set * Times at the end of a month no longer round up. Milliseconds are now removed from times. * Float.to_mongo(nil) now returns nil. * MongoMapper::Query is now powered by Plucky. Deeper Plucky integration is slated for next release. * Custom gemspec/rake tasks instead of jeweler. More simple.
PreviousNext