Permalink
Commits on Oct 24, 2009
Commits on Oct 23, 2009
  1. 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
  2. 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
  3. Ruby 1.9 fix.

    jnunemaker committed Oct 23, 2009
Commits on Oct 22, 2009
  1. Version bump to 0.5.6

    jnunemaker committed Oct 22, 2009
  2. Fixing test expectation on index, was in the wrong order

    Dave Ott and Durran Jordan committed with durran Oct 22, 2009
Commits on Oct 21, 2009
Commits on Oct 16, 2009
  1. 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
  2. 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
  3. Merge branch 'schema-free' of git://github.com/dcu/mongomapper into d…

    …cu/schema-free. Fixes #87.
    jnunemaker committed Oct 16, 2009
  4. Merge branch 'fix-dependent' of git://github.com/dcu/mongomapper into…

    … dcu/fix-dependent. Fixes #88.
    jnunemaker committed Oct 16, 2009
Commits on Oct 15, 2009
  1. association class can not be deferenced here

    Signed-off-by: David A. Cuadrado <krawek@gmail.com>
    dcu committed Sep 28, 2009
  2. 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
Commits on Oct 13, 2009
  1. 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. Forgot to remove this 'require'

    jherdman committed Oct 13, 2009
  3. A little clean up in Callbacks

    jherdman committed Oct 13, 2009