Permalink
Commits on Aug 6, 2009
  1. pulled in djsun's json changes

    KeithHanson committed Aug 6, 2009
Commits on Aug 3, 2009
  1. Embedded documents now have _id as well. Also to_json now includes id…

    … and excludes _id by default. Fixes #44.
    jnunemaker committed Aug 3, 2009
  2. MongoID.mm_typecast now raises MongoMapper::IllegalID if id is illega…

    …l rather than DocumentNotFound. Fixes #43.
    jnunemaker committed Aug 3, 2009
Commits on Aug 1, 2009
  1. Using reset on associations instead of reload. They will automaticall…

    …y reload if requested so why force it. I'd rather it be intentional.
    jnunemaker committed Aug 1, 2009
  2. Added tests for many polymorphic documents. Separated out association…

    … tests to make them easier to work with.
    jnunemaker committed Aug 1, 2009
  3. Fixed tests for AS 2.3.3.

    jnunemaker committed Aug 1, 2009
Commits on Jul 29, 2009
  1. Basic many polymorphic works.

    jnunemaker committed Jul 29, 2009
Commits on Jul 28, 2009
  1. Version bump to 0.3.1

    jnunemaker committed Jul 28, 2009
  2. Updated history.

    jnunemaker committed Jul 28, 2009
  3. Updated history.

    jnunemaker committed Jul 28, 2009
  4. Version bump to 0.3.0

    jnunemaker committed Jul 28, 2009
  5. Removed errant comment.

    jnunemaker committed Jul 28, 2009
  6. Moved rails compat stuff into document and embedded document modules …

    …inside of RailsCompatibility module.
    jnunemaker committed Jul 28, 2009
  7. Renamed rails compat modules to be more consistent. Removed deep merg…

    …e from first and last as they don't need it.
    jnunemaker committed Jul 28, 2009
  8. find(:first) and find(:last) and their other similar methods now usin…

    …g $natural order instead of date which was unreliable.
    jnunemaker committed Jul 28, 2009
  9. _id is now stored in binary format as recommended by MongoDB team. Th…

    …is is a data breaking change.
    
    If you have data in production using MongoMapper, you'll have to
    manually convert anything using the old string format to use the
    binary representation. You'll definitely want to remove access from the
    server while this is happening by stopping your web app.
    
    If you are in development, all you have to do is clear all your collections
    and start over. No biggie at all.
    jnunemaker committed Jul 28, 2009
Commits on Jul 27, 2009
  1. Added scoped paginate to many association. Fixed two bugs in paginati…

    …on where it wasn't counting or setting the offset correctly.
    jnunemaker committed Jul 27, 2009
  2. Added deep_merge gem.

    jnunemaker committed Jul 27, 2009
  3. Embedded attributes are now included with attributes as they should h…

    …ave been in the first place.
    
    Shredded a bunch of code that isn't needed anymore. Yay!
    jnunemaker committed Jul 27, 2009
  4. Added boolean methods for keys that return true or false based on whe…

    …ther they have value present.
    jnunemaker committed Jul 27, 2009
  5. Now defining accessor methods when key is declared rather than using …

    …method missing and all that jazz to work with attributes. This seems more straightforward.
    jnunemaker committed Jul 27, 2009
  6. Added unit tests for association/base.rb. Split out association model…

    …s in test/models.rb for sharing amongst tests.
    jnunemaker committed Jul 27, 2009