Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Oct 7, 2009
  1. John Nunemaker
  2. John Nunemaker

    Version bump to 0.5.0

    jnunemaker authored
  3. John Nunemaker
  4. John Nunemaker

    All dynamic classes now use collection test so we aren't created a bu…

    jnunemaker authored
    …tt load of random ones. Tests running a bit faster.
  5. John Nunemaker

    Only clearing specific collections in each test rather than all colle…

    jnunemaker authored
    …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.
  6. John Nunemaker
  7. John Nunemaker
  8. John Nunemaker

    Pulled out shared dynamic_find method and then included/extended it w…

    jnunemaker authored
    …here needed in document and many document proxy.
  9. John Nunemaker

    Added dynamic finders (find_by, find_by!, find_or_(initialize|create)…

    jnunemaker authored
    …_by, find_all_by) to many documents, many polymorphic documents and many documents as associations.
  10. John Nunemaker

    Renamed private method find_with_args to dynamic_find as that seems m…

    jnunemaker authored
    …ore appropriate. Also, renamed dynamic finder valid? to found? as valid always felt weird.
  11. John Nunemaker

    API CHANGE: Removed find_last_by dynamic finder as find(:last) withou…

    jnunemaker authored
    …t order doesn't really work. Also, refactored dynamic finder and added unit tests for it.
Commits on Oct 6, 2009
  1. John Nunemaker
Commits on Oct 5, 2009
  1. John Nunemaker
  2. John Nunemaker

    Version bump to 0.4.2

    jnunemaker authored
  3. John Nunemaker

    String#from_mongo now returns emtpy string if given value of empty st…

    jnunemaker authored
    …ring. Works just like String#to_mongo.
  4. John Nunemaker
Commits on Oct 4, 2009
  1. John Nunemaker
  2. John Nunemaker

    Version bump to 0.4.1

    jnunemaker authored
  3. John Nunemaker
  4. John Nunemaker
  5. John Nunemaker

    Allow defining per_page class method to set pagination on document ju…

    jnunemaker authored
    …st like will paginate. (leshill)
  6. John Nunemaker
  7. John Nunemaker
  8. John Nunemaker

    Moved custom matchers into their own file and out of test helper. Als…

    jnunemaker authored
    …o using collection.clear instead of delete_all to clean the collections.
  9. John Nunemaker
  10. John Nunemaker
Commits on Oct 3, 2009
  1. John Nunemaker
  2. John Nunemaker

    API CHANGE: To change a document's collection, you should now use set…

    jnunemaker authored
    …_collection_name instead of collection. Collection now lazy loads from collection name to make another step towards loading things in a more sane way in rails.
  3. John Nunemaker
  4. John Nunemaker
  5. John Nunemaker
  6. John Nunemaker
Commits on Oct 2, 2009
  1. John Nunemaker
  2. John Nunemaker

    Version bump to 0.4.0

    jnunemaker authored
  3. John Nunemaker

    Added embedded document new? method back in. Not perfect but I have a…

    jnunemaker authored
    … plan and it is good enough for now.
Something went wrong with that request. Please try again.