Permalink
Commits on Apr 19, 2010
  1. @jnunemaker
  2. @jnunemaker

    Version bump to 0.7.4.

      * 0.20.1 Ruby driver compatibility
      * descendants defaults to array
      * BSON::ObjectID#as_json
      * :fields now supports hash (:fields => {:content => 0, :title => 1})
      * one embeddable association
      * multiple symbol operators in query on one key now works (ie: {:age.gt => 10, :age.lt => 20} # => {:age => {'$gt' => 10, '$lt' => 20}})
      * many documents now accepts array of hashes (previously only array of association class objects)
      * bug fix for setting parent/root documents with embedded key
      * many association now keeps track of unsaved docs and saves them on owner save
      * updated validatable dependency
      * push_uniq now add_to_set and uses $addToSet (mongodb 1.3+)
      * unset modifier to remove keys from documents (mongodb 1.3+)
    jnunemaker committed Apr 19, 2010
  3. @jnunemaker

    Small tweak to hopefully nab the random failure in this test. Only ha…

    …ppens like 1 in 30 runs or so.
    jnunemaker committed Apr 19, 2010
  4. @jnunemaker
Commits on Apr 18, 2010
  1. @jnunemaker

    Reorganized tests.

    jnunemaker committed Apr 18, 2010
  2. @jnunemaker
  3. @jnunemaker
  4. @tjtuom @jnunemaker
  5. @tjtuom @jnunemaker
  6. @tjtuom @jnunemaker

    Updated #load_target on proxy.

    tjtuom committed with jnunemaker Mar 29, 2010
  7. @tjtuom @jnunemaker

    Added tests.

    tjtuom committed with jnunemaker Mar 29, 2010
  8. @jnunemaker

    Added :order => 'name' so there are never random failures when checki…

    …ng the pets by order.
    jnunemaker committed Apr 18, 2010
  9. @dpiddy @jnunemaker
  10. @dpiddy @jnunemaker
  11. @dpiddy @jnunemaker
  12. @dpiddy @jnunemaker
  13. @dpiddy @jnunemaker
  14. @jnunemaker

    Switched from fields to keys in a few spots. Moved multiple symbol op…

    …erators on one key merging to normalized_value from to_criteria.
    jnunemaker committed Apr 18, 2010
  15. @jnunemaker
  16. @jnunemaker

    Added normalized_direction internal method for Mongo::Query. Just mov…

    …ing some things around.
    jnunemaker committed Apr 18, 2010
  17. @zerowidth @jnunemaker
  18. @zerowidth @jnunemaker
  19. @jnunemaker
  20. @jnunemaker

    Add Mongo::ObjectID#as_json so that it does 'the right thing' when us…

    …ing render :json => object in Rails (which implicitly calls as_json) (rlivsey)
    jnunemaker committed Apr 18, 2010
  21. @Houdini @jnunemaker

    Update to new version of ruby driver, :fields support now hash like {…

    …:date => 1, :price => 0}
    Houdini committed with jnunemaker Mar 26, 2010
  22. @fxposter @jnunemaker

    added test for protected fixes

    fxposter committed with jnunemaker Apr 16, 2010
  23. @fxposter @jnunemaker

    Now MongoMapper::Document.new(nil) is a valid call.

    ActiveRecord allows to create models with nil as an attributes parameter.
    For example User.new(nil), e.g. User.new(params[:user]), when params[:user] is blank.
    fxposter committed with jnunemaker Apr 15, 2010
  24. @mtyaka @jnunemaker
  25. @SFEley @jnunemaker
Commits on Apr 5, 2010
  1. @jnunemaker
  2. @jnunemaker
  3. @jnunemaker

    0.7.3 version bump for driver upgrade (GridFS bug). A few other tiny …

    …things but nothing big.
    jnunemaker committed Apr 5, 2010
  4. @jnunemaker
  5. @jnunemaker
Commits on Mar 31, 2010
  1. @jnunemaker