Permalink
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 …

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

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

    …s get pulled into mongo ruby driver and a new version is released.
    jnunemaker committed Oct 8, 2009
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…

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

    …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.
    jnunemaker committed Oct 7, 2009
  5. Pulled out shared dynamic_find method and then included/extended it w…

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

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

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

    …t order doesn't really work. Also, refactored dynamic finder and added unit tests for it.
    jnunemaker committed Oct 7, 2009
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…

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

    jnunemaker committed Oct 4, 2009
  2. Allow defining per_page class method to set pagination on document ju…

    …st like will paginate. (leshill)
    jnunemaker committed Oct 4, 2009
  3. Moved custom matchers into their own file and out of test helper. Als…

    …o using collection.clear instead of delete_all to clean the collections.
    jnunemaker committed Oct 4, 2009