Permalink
Commits on Jan 19, 2010
  1. Changed behavior of a (non-embeddable) many association's #build meth…

    bnoguchi committed Jan 19, 2010
    …od if the association owner is a new record.
    
    Instead of saving the owner and assigning a foreign id to the association object with every call to #build,
    the foreign id assignment to and saving of the association object is invoked upon an explicit call to #save on the owner.
Commits on Jan 18, 2010
  1. Fixed a nasty horrible brain killing bug where docs loaded from datab…

    jnunemaker committed Jan 18, 2010
    …ase always had changes that killed puppies.
Commits on Jan 15, 2010
Commits on Jan 13, 2010
Commits on Jan 11, 2010
  1. Removed alias. Not needed.

    jnunemaker committed Jan 11, 2010
  2. Identity map is not quite ready for the rest of the tests. Pulling it…

    jnunemaker committed Jan 11, 2010
    … out of document and instead adding it only to the spots where I'm testing identity map.
  3. Removing moneta and going with simplest thing for now. Adding more th…

    jnunemaker committed Jan 11, 2010
    …orough tests for loading from database for single id.
Commits on Jan 10, 2010
  1. Victory! Not perfect yet, but Document and EmbeddedDocument are no lo…

    jnunemaker committed Jan 10, 2010
    …nger conjoined twins. Document no longer includes EmbeddedDocument.
  2. DescendantAppends now automatically track descendants and apply inclu…

    jnunemaker committed Jan 10, 2010
    …sions and extensions. Duh.
  3. Switched to read_key, read_key_before_typecast and write_key as it fi…

    jnunemaker committed Jan 10, 2010
    …ts better language-wise with mongo. read_attribute, read_attribute_before_typecast and write_attribute are still in rails plugin for those that prefer it for now.
  4. Added count to many embedded associations. Also many embedded and man…

    jnunemaker committed Jan 10, 2010
    …y embedded poly now inherit embedded collection class for shared methods. Fixes #152.
  5. Optimize to_mongo conversions on Date, Time, and Boolean so conversio…

    jnunemaker committed Jan 10, 2010
    …ns don't need to be done if the object is already of the correct type. Also ensure Time objects are rounded to milliseconds to be compatible with how they are stored in BSON. (Brian Durand)
  6. Make finder options a bit more efficient and non-destructive on the o…

    jnunemaker committed Jan 10, 2010
    …ptions hash passed into the initializer (Brian Durand)
  7. Moved collection setting on inherited to document and fixed a test th…

    jnunemaker committed Jan 10, 2010
    …at randomly failed due to order.
  8. Forgot to remove some files.

    jnunemaker committed Jan 10, 2010
  9. Moved pagination to plugin.

    jnunemaker committed Jan 10, 2010
  10. Removed rails compat modules and made a rails plugin. For now always …

    jnunemaker committed Jan 10, 2010
    …including it but at some point we can only include if Rails is defined.