Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Oct 7, 2009
  1. @jnunemaker
  2. @jnunemaker

    Version bump to 0.5.0

    jnunemaker authored
  3. @jnunemaker
  4. @jnunemaker

    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. @jnunemaker

    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. @jnunemaker
  7. @jnunemaker
  8. @jnunemaker

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

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

    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. @jnunemaker

    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. @jnunemaker

    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. @jnunemaker
Commits on Oct 5, 2009
  1. @jnunemaker
  2. @jnunemaker

    Version bump to 0.4.2

    jnunemaker authored
  3. @jnunemaker

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

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

    Version bump to 0.4.1

    jnunemaker authored
  3. @jnunemaker
  4. @jnunemaker
  5. @jnunemaker

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

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

    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. @jnunemaker
  10. @jnunemaker
Commits on Oct 3, 2009
  1. @jnunemaker
  2. @jnunemaker

    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. @jnunemaker
  4. @jnunemaker
  5. @jnunemaker
  6. @jnunemaker
Commits on Oct 2, 2009
  1. @jnunemaker
  2. @jnunemaker

    Version bump to 0.4.0

    jnunemaker authored
  3. @jnunemaker

    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.