Permalink
Commits on Mar 16, 2016
  1. @smtlaissezfaire

    upgrade version to 0.14.0 release candidate 1

    smtlaissezfaire committed Mar 11, 2016
  2. @smtlaissezfaire

    Update to plucky query 0.7.0. This fixes a bug where arrays weren't h…

    …andled properly and led to empty results being returned.
    smtlaissezfaire committed Mar 11, 2016
Commits on Mar 15, 2016
  1. @smtlaissezfaire
Commits on Feb 3, 2016
  1. @smtlaissezfaire

    Add spec (and fix bug introduced in 377754d) regarding merging Plucky…

    …::Queries in DecoratedPluckyQuery's method_missing
    smtlaissezfaire committed Feb 3, 2016
  2. @smtlaissezfaire

    bug fix: make sure that scopes get applied onto DecoratedPluckyQuery,…

    … not just on has many proxies
    smtlaissezfaire committed Feb 3, 2016
  3. @smtlaissezfaire

    minor refactoring

    smtlaissezfaire committed Feb 3, 2016
  4. @smtlaissezfaire
  5. @smtlaissezfaire
Commits on Jan 30, 2016
  1. @smtlaissezfaire

    bug fix for partial updates: make sure values set in callbacks (speci…

    …fically, before_update) are properly stored in the db when partial updates are on
    smtlaissezfaire committed Jan 30, 2016
Commits on Jan 18, 2016
  1. @smtlaissezfaire
  2. @smtlaissezfaire

    * Scoping enhancements: Add default_scopes and with_scope { ... }

    * bug fix: methods on a class weren't being called in context of their caller when called through an association proxy.  Consider the following:
    
        class User
          has_many :posts
        end
    
        class Posts
          belongs_to :user
          validates_presence_of :user
          validates_presence_of :slug
          validates_uniqueness_of :slug, scope: [:user_id]
    
          def find_by_slug!(slug)
            obj = first(:slug => slug) ? obj : raise "missing slug"
          end
        end
    
      @user.posts.find_by_slug!(slug) wasn't scoping by the user!
    smtlaissezfaire committed Jan 18, 2016
  3. @smtlaissezfaire

    minor (indentation)

    smtlaissezfaire committed Jan 18, 2016
  4. @smtlaissezfaire
Commits on Jan 17, 2016
  1. @smtlaissezfaire
  2. @smtlaissezfaire
  3. @smtlaissezfaire

    remove spec check against Doc.stats.system_flags (it's been removed i…

    …n newer versions of mongo)
    smtlaissezfaire committed Jan 17, 2016
  4. @smtlaissezfaire

    fix a typo

    smtlaissezfaire committed Jan 17, 2016
Commits on Jan 15, 2016
  1. @smtlaissezfaire
Commits on Jun 1, 2015
  1. @cheald
Commits on Feb 11, 2015
  1. @smtlaissezfaire

    Don't use alias_method (instead just use proxy methods) for Keys#[]

    and Keys#attribute (this way plugins that override read_key don't
    also have to override those methods)
    smtlaissezfaire committed Feb 11, 2015
  2. @smtlaissezfaire

    changelog updates

    smtlaissezfaire committed Feb 11, 2015
  3. @smtlaissezfaire
  4. @smtlaissezfaire
Commits on Feb 4, 2015
  1. @cheald

    Merge pull request #597 from dpoineau/allow-with-cast-for-identity-ma…

    …p-load
    
    Allowing with_cast to be passed to identity_map.load
    cheald committed Feb 4, 2015
  2. @dpoineau
  3. @cheald

    Merge pull request #589 from smtlaissezfaire/partial_updates

    Only partially update objects (using $set and $unset) when updates occur...
    cheald committed Feb 4, 2015
  4. @cheald

    Merge pull request #601 from dpoineau/fixing-failing-tests-all

    Fixing all currently failing tests
    cheald committed Feb 4, 2015
Commits on Jan 12, 2015
  1. @dpoineau
Commits on Jan 8, 2015
  1. @dpoineau
Commits on Dec 18, 2014
  1. @cheald
  2. @cheald

    Disallow class as a key name

    cheald committed Dec 18, 2014
Commits on Nov 24, 2014
  1. @smtlaissezfaire

    Only partially update objects (using $set and $unset) when updates oc…

    …cur.
    
    Note: this does not use ActiveModel::Dirty as ActiveModel::Dirty doesn't find in place changes (such as appending to an array or calling gsub! on a string).
    
    Partial Updates can be turned on or off per class (by default they are off):
    
      class Person
        include MongoMapper::Document
        self.partial_updates = false
      end
    smtlaissezfaire committed Nov 12, 2014
  2. @smtlaissezfaire
Commits on Nov 19, 2014
  1. @smtlaissezfaire @cheald
  2. @smtlaissezfaire @cheald

    Revert "We don't support rspec 3 yet."

    This reverts commit ac9937d.
    smtlaissezfaire committed with cheald Nov 19, 2014