Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Aug 11, 2012
  1. @durran

    Don't apply options on sync callback updates.

    durran authored
    When a default_scope exists on either side of a many-to-many relation
    that applies options (like a sort), the resulting MongoDB command to
    update the keys is invalid since MongoDB doesn't like $and queries
    inside an update with a $query and $orderby options. It raises no error
    in safe mode, but does log the following error in the db:
    
    exception: invalid operator: $and code:10068 0ms
    
    This fix removes any options in the criteria when updating the keys.
    
    [ fix #2280 ]
Commits on Aug 8, 2012
  1. @durran
Commits on Aug 3, 2012
  1. @durran

    Update changelog

    durran authored
  2. @durran
Commits on Aug 1, 2012
  1. @durran

    Fix default scope stripping against nil values:

    durran authored
    If a selector existed as a scope, and it had a nil value in it, the
    scope would get cleared completely since we checked only for nil and not
    if the key existed.
    
    [ fix #2272 ]
Commits on Jul 31, 2012
  1. @durran

    Update changelog for #2266

    durran authored
  2. @haihappen @durran

    Marks documents again as persisted after restoring them.

    haihappen authored durran committed
  3. @durran
Commits on Jul 29, 2012
  1. @durran

    Start of 3.0.4

    durran authored
  2. @durran

    Bump to 3.0.3

    durran authored
  3. @durran

    Loosen up the gemspec for moped

    durran authored
  4. @durran

    Check type selection when pulling from identity map.

    durran authored
    In order to guard from models attempting to pull a document from the
    identity map that matches the id, but is of a type that is a parent or
    sibling, we need to add the type selection to the check as well.
    
    [ fix #2259 ]
  5. @durran
Commits on Jul 27, 2012
  1. @durran
  2. @durran
Commits on Jul 26, 2012
  1. @durran
  2. @jonhyman @durran

    Obviating the need to skip the identity map for #exists? by hitting M…

    jonhyman authored durran committed
    …oped directly. DRYing up duplicate code.
  3. @jonhyman @durran
  4. @durran

    Bump version to 3.0.2

    durran authored
  5. @durran

    Ensure uniqueness validation works with custom persistence:

    durran authored
    - Previously the persistence options would be cleared out after the
      database query that the uniqueness validation performs, causing the
      document to be persisted in its normal location. This now keeps the
      options in the thread local unless validation fails.
    - [ fix #2234 ]
  6. @durran
  7. @durran
  8. @durran
Commits on Jul 25, 2012
  1. @franc @durran

    fix eager loading for railsadmin compatibility.

    franc authored durran committed
  2. @durran
  3. @durran
  4. @durran
Commits on Jul 24, 2012
  1. @durran
  2. @durran
  3. @durran
Commits on Jul 22, 2012
  1. @durran
  2. @durran
Commits on Jul 20, 2012
  1. @durran
Commits on Jul 19, 2012
  1. @durran
  2. @durran
Something went wrong with that request. Please try again.