All Versions
12
Latest Version
Avg Release Cycle
288 days
Latest Release
1384 days ago

Changelog History
Page 2

  • v0.11.1 Changes

    March 30, 2012

    โœจ Enhancements:

    * Add ActiveRecord-style #touch to documents and associations
    * Add options to atomic modifiers that are passed to the driver
    
        Page.increment({:title => "Hello World"}, {:comment_count => 1}, {:upsert => true})
    

    ๐Ÿ› Bug Fixes:

    * Stop raising error if MongoMapper.database is nil
    * Delegate :distinct, :size, :reverse, :offset, :order, :empty?, :filter,
      :find_one, :per_page, :ignore, :only, and :to_a on Document to query
    * Fix for EmbeddedDocument#inspect [#373]
    * Ensure milliseconds are preserved with time values [#308]
    * Allow MongoMapper.setup to accept a symbol for the environment name
    

    https://github.com/mongomapper/mongomapper/compare/v0.11.0...v0.11.1

  • v0.11.0 Changes

    January 26, 2012

    โœจ Enhancements:

    * Adds support for has_one polymorphic embedded associations
    * Adds namespacing to model generator
    * Adds :context option to validates_associated
    
        many :things
        validates_associated :things, :context => :custom_context
    
    * Adds ActiveRecord-compatible association reflection
    * Adds support for setting mongo connection options in mongo.yml
    
        production:
          uri: <%= ENV['MONGOHQ_URL'] %>
          options:
            safe: true
    
    * Adds #timestamps! to embedded documents
    

    ๐Ÿ› Bug Fixes

    * #update_attribute now ignores attr_accessible and attr_protected
    * Fix deprecation warnings in Rails 3.2
    

    https://github.com/jnunemaker/mongomapper/compare/v0.10.1...v0.11.0