Skip to content
This repository
tag: v3.0.4

Aug 11, 2012

  1. Durran Jordan

    Don't apply options on sync callback updates.

    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 ]
    durran authored

Aug 08, 2012

  1. Durran Jordan

    update only updates first, update_all updates everything. [ fix #2278 ]

    durran authored

Aug 03, 2012

  1. Durran Jordan

    Update changelog

    durran authored
  2. Durran Jordan

    When loading models, continue with warning if exception is raised

    [ fix #2274 ]
    durran authored

Aug 01, 2012

  1. Durran Jordan

    Fix default scope stripping against nil values:

    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 ]
    durran authored

Jul 31, 2012

  1. Durran Jordan

    Update changelog for #2266

    durran authored
  2. Mario Uher

    Marks documents again as persisted after restoring them.

    haihappen authored durran committed
  3. Durran Jordan

    Cast foreign keys for n-n on set, not validation. [ fix #2263 ]

    durran authored

Jul 29, 2012

  1. Durran Jordan

    Start of 3.0.4

    durran authored
  2. Durran Jordan

    Bump to 3.0.3

    durran authored
  3. Durran Jordan

    Loosen up the gemspec for moped

    durran authored
  4. Durran Jordan

    Check type selection when pulling from identity map.

    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 ]
    durran authored
  5. Durran Jordan

    Dont fire autosave if before callbacks have terminated the chain. [ fix

    durran authored

Jul 27, 2012

  1. Durran Jordan

    Don't convert integer $inc values to floats. [ fix #2254 ]

    durran authored
  2. Durran Jordan

    Use origin's deep copy instead of duping selector and options. [ #2255 ]

    durran authored

Jul 26, 2012

  1. Durran Jordan

    Move exists down to embedded/relational classes, remove unnecessary d…

    …elegate
    durran authored
  2. Jonathan Hyman

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

    …oped directly. DRYing up duplicate code.
    jonhyman authored durran committed
  3. Jonathan Hyman

    Updating exists? methods to try to find a document instead of checkin…

    jonhyman authored durran committed
  4. Durran Jordan

    Bump version to 3.0.2

    durran authored
  5. Durran Jordan

    Ensure uniqueness validation works with custom persistence:

    - 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 ]
    durran authored
  6. Durran Jordan

    Fix multiple sets in a row on embeds one relations. [ fix #2216 ]

    durran authored
  7. Durran Jordan

    Get rid of id warnings for mass assignment in nested attributes. [ fix

    durran authored
  8. Durran Jordan

    Ensure many to many fk fields are flagged resizable. [ fix #2238 ]

    durran authored

Jul 25, 2012

  1. Francois Paul

    fix eager loading for railsadmin compatibility.

    franc authored durran committed
  2. Durran Jordan

    Keep instance of document in validation exceptions. [ fix #2236 ]

    durran authored
  3. Durran Jordan

    Use strong consistency for map/reduce operations. [ fix #2241 ]

    durran authored
  4. Durran Jordan

    Don't eager load all docs on first or last. [ fix #2242 ]

    durran authored

Jul 24, 2012

  1. Durran Jordan

    Ensure errors are cleared with validate: false. [ fix #2212 ]

    durran authored
  2. Durran Jordan

    Map/reduce with specs use mongohq

    durran authored
  3. Durran Jordan

    Model#inc now accepts BigDecimal values. [ fix #2224 ]

    durran authored

Jul 22, 2012

  1. Durran Jordan

    fixing rspec randomized failures

    durran authored
  2. Durran Jordan

    Raise InvlidIncludes when includes params are not valid. [ fix #2204 ]

    durran authored

Jul 20, 2012

  1. Durran Jordan

    Fix double iteration issues with eager loading belongs to relations. …

    …[ fix #2207 ]
    durran authored

Jul 19, 2012

  1. Durran Jordan

    Map/reduce now works in conjunction with Model.with. [ fix #2203 ]

    durran authored
  2. Durran Jordan

    Pass collection through to map/reduce and findAndModify

    durran authored
Something went wrong with that request. Please try again.