Permalink
Commits on Oct 12, 2009
  1. Version bump to 0.5.4

    jnunemaker committed Oct 12, 2009
Commits on Oct 11, 2009
  1. Version bump to 0.5.3

    jnunemaker committed Oct 11, 2009
  2. Because :index => true and ensure_index do not work in EmbeddedDocume…

    jnunemaker committed Oct 11, 2009
    …nt I'm moving them to Document. If you need to index an embedded document, you can just ensure it from the document that is embedding it.
  3. MAJOR: Indexes now lazy load. The api is the same, only difference is…

    jnunemaker committed Oct 11, 2009
    … now you need to call MongoMapper.ensure_indexes! after you load your models and setup your connection. For Rails, just do this in an initializer.
  4. Added logger class and instance methods for convenience in embedded d…

    jnunemaker committed Oct 11, 2009
    …ocuments and documents.
  5. I did a quick check. Most other libs use 'exists' instead of

    jherdman committed with jnunemaker Oct 10, 2009
    'exist'. To keep in line with the expectations of people, I've
    renamed the 'exist' method to 'exists'.
  6. Add the ability to check for the existence of a record. A sometimes

    jherdman committed with jnunemaker Oct 10, 2009
    handy method that only returns a boolean.
  7. Implemented condition auto detection. Supports old-style :conditions …

    jnunemaker committed Oct 11, 2009
    …hash as well. Fixes #33.
    
    What use to be:
      Foo.all(:conditions => {:bar => true})
    
    Can now be:
      Foo.all(:bar => true)
Commits on Oct 9, 2009
  1. Version bump to 0.5.2

    jnunemaker committed Oct 9, 2009
Commits on Oct 8, 2009
  1. Version bump to 0.5.1

    jnunemaker committed Oct 8, 2009
  2. Removed all traces of $natural as it doesn't allow using indexes and …

    jnunemaker committed Oct 8, 2009
    …makes things slow. :order must be provided when using last method now.
  3. Added MongoMapper.logger method which logs to the mongo ruby driver c…

    jnunemaker committed Oct 8, 2009
    …onnection logger instance. Fixes #66.
  4. Added a duck punch of some logger convenience methods until my change…

    jnunemaker committed Oct 8, 2009
    …s get pulled into mongo ruby driver and a new version is released.
Commits on Oct 7, 2009
  1. Added tmp to git ignore.

    jnunemaker committed Oct 7, 2009
  2. Version bump to 0.5.0

    jnunemaker committed Oct 7, 2009