Permalink
Commits on Jan 13, 2011
  1. Added ruby-debug

    bkeepers committed Jan 13, 2011
  2. Fix middleware test on Ruby 1.9

    Rack's MockResponse calls #each on the body, which is not defined on String in Ruby 1.9
    bkeepers committed Jan 13, 2011
Commits on Jan 8, 2011
Commits on Jan 7, 2011
  1. cosmetics

    bkeepers committed Jan 7, 2011
  2. Merge branch 'nil_associations' of https://github.com/jaronkk/mongoma…

    …pper
    
    * 'nil_associations' of https://github.com/jaronkk/mongomapper:
      Fixed an issue using the association_name= method to assign a new object updated existing pointers to the proxy, rather than generating a new one
      Modified accessor method for one and belongs_to associations to return nil rather than a proxy object if the association does not exist Added additional method calls for build_<name>, create_<name>, and create<name>! since calling .build(), .create(), and .create!() would raise when the association is nil. Discussion from http://groups.google.com/group/mongomapper/browse_thread/thread/e311dd04b0af576f
    bkeepers committed Jan 7, 2011
Commits on Jan 4, 2011
  1. Fixed an issue using the association_name= method to assign a new obj…

    …ect updated existing pointers to the proxy, rather than generating a new one
    jaronkk committed Jan 4, 2011
Commits on Jan 3, 2011
  1. Modified accessor method for one and belongs_to associations to retur…

    …n nil rather than a proxy object if the association does not exist
    
    Added additional method calls for build_<name>, create_<name>, and create<name>! since calling .build(), .create(), and .create!() would raise when the association is nil.
    Discussion from http://groups.google.com/group/mongomapper/browse_thread/thread/e311dd04b0af576f
    jaronkk committed Jan 3, 2011
Commits on Dec 27, 2010
  1. Fixed issue with nested embedded one's not getting _id set properly.

    Test thanks to bhbryant.
    jnunemaker committed Dec 27, 2010
Commits on Nov 20, 2010
  1. Merge branch 'master' of https://github.com/rainux/mongomapper

    * 'master' of https://github.com/rainux/mongomapper:
      Option :typecast for key works with Key#get
    bkeepers committed Nov 20, 2010
Commits on Nov 5, 2010
  1. Bundle update.

    jnunemaker committed Nov 5, 2010
  2. Fixed one proxy replace with nil value.

    Now actually unassigns target foreign key if target exists.
    jnunemaker committed Nov 5, 2010
Commits on Nov 1, 2010
  1. Added safe example.

    jnunemaker committed Nov 1, 2010
Commits on Oct 11, 2010
  1. Threw bundler into the mix.

    jnunemaker committed Oct 11, 2010
  2. Update plucky dependency (and as such mongo, bson, etc.) and upgrade …

    …Binary type to use BSON::Binary instead of BSON::ByteBuffer.
    jnunemaker committed Oct 11, 2010
Commits on Sep 23, 2010
  1. Quiet down the tests

    bkeepers committed Sep 23, 2010
  2. remove unnecessary conditional

    bkeepers committed Sep 23, 2010
Commits on Sep 8, 2010
Commits on Aug 29, 2010
  1. Release 0.8.4.

    jnunemaker committed Aug 29, 2010
  2. Using allocate to create new instance from database. Separated initia…

    …lize and initialize_from_database instead of having two parameters for initialize. Should make overriding initialize/etc easier.
    jnunemaker committed Aug 29, 2010
  3. new documents should not validate on uniquness if allow_blank || allo…

    …w_nil are false and the docs are blank || nil
    ryana committed with jnunemaker Jun 28, 2010
  4. Fixed accessing _root_document from an embedded document that is nest…

    …ed within another embedded document.
    skinandbones committed with jnunemaker Aug 10, 2010