Permalink
Commits on Oct 28, 2009
  1. Reload of documents -- helpful for testing.

    Ryan Koopmans committed Oct 28, 2009
Commits on Oct 24, 2009
  1. @orderedlist @jnunemaker
Commits on Oct 23, 2009
  1. @jnunemaker
  2. @jnunemaker
  3. @jnunemaker

    Refactored most of the places that touch the database to be more cons…

    …istent. Everything now takes options and collection.find_one is used in places where only one document is being found instead of find with a limit. Fixes #91.
    jnunemaker committed Oct 23, 2009
  4. @jnunemaker

    Now using condition auto-detection everywhere instead of explicit :co…

    …nditions. I would recommend not using :conditions anymore and I'll deprecate and remove before too long.
    jnunemaker committed Oct 23, 2009
  5. @jnunemaker

    Ruby 1.9 fix.

    jnunemaker committed Oct 23, 2009
  6. @jnunemaker
Commits on Oct 22, 2009
  1. @jnunemaker
  2. @jnunemaker

    Version bump to 0.5.6

    jnunemaker committed Oct 22, 2009
  3. @jnunemaker
  4. @jnunemaker
  5. @jnunemaker
  6. @jnunemaker
  7. @durran

    Fixing test expectation on index, was in the wrong order

    Dave Ott and Durran Jordan committed with durran Oct 22, 2009
  8. @durran
Commits on Oct 21, 2009
  1. @jnunemaker
  2. @jnunemaker
  3. @jnunemaker
Commits on Oct 16, 2009
  1. @jnunemaker
  2. @jnunemaker

    Version bump to 0.5.5. Bug fixes. Some code cleanup. Slight dependenc…

    …y adjustments. Ability to check existence of doc with exists? class method.
    jnunemaker committed Oct 16, 2009
  3. @jnunemaker
  4. @jnunemaker
  5. @jnunemaker

    Added test timer to alert for slow tests. Added timecop to fix the ti…

    …mestamping tests that actually had sleep statements in them because mongo is so freakin fast.
    jnunemaker committed Oct 16, 2009
  6. @jnunemaker
  7. @jnunemaker

    Merge branch 'schema-free' of git://github.com/dcu/mongomapper into d…

    …cu/schema-free. Fixes #87.
    jnunemaker committed Oct 16, 2009
  8. @jnunemaker

    Merge branch 'fix-dependent' of git://github.com/dcu/mongomapper into…

    … dcu/fix-dependent. Fixes #88.
    jnunemaker committed Oct 16, 2009
  9. @jnunemaker
Commits on Oct 15, 2009
  1. @dcu

    association class can not be deferenced here

    Signed-off-by: David A. Cuadrado <krawek@gmail.com>
    dcu committed Sep 28, 2009
  2. @dcu

    it should define new keys in the scope of the object using the metacl…

    …ass.
    
    otherwise it would define the new key for all objects.
    
    Example:
    
    class Thing; include MongoMapper::Document; end
    a = Thing.new
    b = Thing.new
    
    a[:foo] = nil
    b.save
    
    before this patch, 'foo' is a new property of b
    after this patch, b's schema is not changed
    
    fixes #87
    
    Signed-off-by: David A. Cuadrado <krawek@gmail.com>
    dcu committed Oct 15, 2009
Commits on Oct 14, 2009
  1. @jherdman
Commits on Oct 13, 2009
  1. @jherdman

    Sometimes when you're testing you want a document's creation to fail

    loudly (i.e. raise an exception). Some folks also prefer to handle
    exceptions if document creation fails. This change set satisfies both
    of these needs.
    jherdman committed Oct 13, 2009
  2. @jherdman

    Forgot to remove this 'require'

    jherdman committed Oct 13, 2009
  3. @jherdman
  4. @jherdman

    A little clean up in Callbacks

    jherdman committed Oct 13, 2009