Skip to content
Commits on Feb 3, 2016
  1. @smtlaissezfaire

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

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

    minor refactoring

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

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

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

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

    smtlaissezfaire committed
    * 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!
  3. @smtlaissezfaire

    minor (indentation)

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

    fix a typo

    smtlaissezfaire committed
Commits on Jan 15, 2016
  1. @smtlaissezfaire

    fix repo url in readme

    smtlaissezfaire committed
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#[]

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

    changelog updates

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

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

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

    Merge pull request #589 from smtlaissezfaire/partial_updates

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

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

    cheald committed
    Fixing all currently failing tests
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
Commits on Nov 24, 2014
  1. @smtlaissezfaire

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

    smtlaissezfaire committed
    …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
  2. @smtlaissezfaire
Commits on Nov 19, 2014
  1. @smtlaissezfaire @cheald
  2. @smtlaissezfaire @cheald

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

    smtlaissezfaire committed with cheald
    This reverts commit ac9937d.
  3. @smtlaissezfaire @cheald

    upgrade to rspec 3.0

    smtlaissezfaire committed with cheald
    rspec: convert mock expectations into new syntax to avoid deprecation warnings
    
    fix rspec deprecation warning: failure_message
    
    upgrade to rspec 3.1.0
    
    maybe fix spec failures on linux
  4. @smtlaissezfaire @cheald
  5. @smtlaissezfaire @cheald
Something went wrong with that request. Please try again.