Permalink
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
  4. I couldn't really see a purpose for this module. It added some

    complexity, and really only added the benefit of checking #valid?
    before saving. In this change set I merge this behaviour in, remove
    the superfluous module, and retain all expectations without making
    the code gross.
    jherdman committed Oct 13, 2009
  5. Abolish some use of alias_method_chain in the Dirty module. These

    are the low hanging fruits. The other instances are going to require
    a little leg work.
    
    The goal is to absolish alias_method_chain to make bug hunting
    easier.
    jherdman committed Oct 13, 2009
Commits on Oct 12, 2009
  1. Version bump to 0.5.4

    jnunemaker committed Oct 12, 2009