Permalink
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
  3. All dynamic classes now use collection test so we aren't created a bu…

    jnunemaker committed Oct 7, 2009
    …tt load of random ones. Tests running a bit faster.
  4. Only clearing specific collections in each test rather than all colle…

    jnunemaker committed Oct 7, 2009
    …ctions. Dramatically speeding tests up (from 40+ seconds to 12 on my machine). Downside is we have to remember to clear every document before each test.
  5. Pulled out shared dynamic_find method and then included/extended it w…

    jnunemaker committed Oct 7, 2009
    …here needed in document and many document proxy.
  6. Added dynamic finders (find_by, find_by!, find_or_(initialize|create)…

    jnunemaker committed Oct 7, 2009
    …_by, find_all_by) to many documents, many polymorphic documents and many documents as associations.
  7. Renamed private method find_with_args to dynamic_find as that seems m…

    jnunemaker committed Oct 7, 2009
    …ore appropriate. Also, renamed dynamic finder valid? to found? as valid always felt weird.
  8. API CHANGE: Removed find_last_by dynamic finder as find(:last) withou…

    jnunemaker committed Oct 7, 2009
    …t order doesn't really work. Also, refactored dynamic finder and added unit tests for it.
Commits on Oct 6, 2009
Commits on Oct 5, 2009
  1. Version bump to 0.4.2

    jnunemaker committed Oct 5, 2009
  2. String#from_mongo now returns emtpy string if given value of empty st…

    jnunemaker committed Oct 5, 2009
    …ring. Works just like String#to_mongo.
Commits on Oct 4, 2009
  1. Version bump to 0.4.1

    jnunemaker committed Oct 4, 2009