Permalink
Commits on Dec 31, 2012
  1. Release 0.6.2.

    * do not normalize empty array to $in
    * correctly handle merging of bson object ids in criteria
    jnunemaker committed Dec 31, 2012
  2. Merge pull request #29 from paulwalker/empty_array_crit_value_fix

    do not normalize to $in operator with an empty array
    jnunemaker committed Dec 31, 2012
  3. Merge pull request #30 from jnunemaker/fix-bson-id-merging

    Fix bson id merging
    jnunemaker committed Dec 31, 2012
  4. Releasing 0.6.1.

    jnunemaker committed Dec 31, 2012
  5. Merge branch 'master' of github.com:jnunemaker/plucky

    Conflicts:
    	lib/plucky/query.rb
    jnunemaker committed Dec 31, 2012
  6. Merge pull request #26 from wpeterson/perf/exists

    Fix exists?() performance using find_one().
    jnunemaker committed Dec 31, 2012
  7. do not normalize to $in operator with an empty array

    Paul Walker committed Dec 31, 2012
Commits on Dec 28, 2012
  1. Release 0.6.0.

    jnunemaker committed Dec 28, 2012
Commits on Nov 13, 2012
  1. Fix exists?() performance using find_one().

    Use find_one() instead of count(), since it's faster on most datastores for large collections. Especially MongoDB, where count() can't use indexes properly.
    Winfield Peterson committed Nov 13, 2012
Commits on Oct 23, 2012
  1. #reverse will sort by _id descending if no sort is specified. Provide…

    …s functionality parity with AR.
    cheald committed Oct 23, 2012
  2. Change #exists? to use a single-record lookup rather than count, whic…

    …h must do a full collection scan
    cheald committed Oct 23, 2012
Commits on Oct 19, 2012
  1. Remove extraneous &block binding, remove extraneous method calls via …

    …method aliasing, fix Query#all to collect documents as it iterates them, rather than invoking to_a on the cursor post-iteration
    cheald committed Oct 19, 2012
Commits on Oct 13, 2012
Commits on Oct 12, 2012
Commits on Oct 11, 2012
  1. A bunch of docs.

    jnunemaker committed Oct 11, 2012
  2. Original instead of source

    jnunemaker committed Oct 11, 2012
  3. Explicit > method missing for criteria hash

    Also used instance variables where possible instead of methods.
    jnunemaker committed Oct 11, 2012
  4. Rename source to original

    jnunemaker committed Oct 11, 2012
  5. Change key error to argument error.

    Ruby 1.8 and 1.9 raise different errors for key missing when using
    fetch.
    jnunemaker committed Oct 11, 2012
  6. Move options hash value normalization to multiple files

    Each piece is customizable now and definitely getting more clear.
    Slowly but surely.
    jnunemaker committed Oct 11, 2012