Permalink
Commits on Aug 11, 2010
  1. Release 0.3.4.

    jnunemaker committed Aug 11, 2010
    * 1.9 fields with hash fix.
    * Update mongo version.
    * Added Query#explain.
  2. Added Query#explain.

    jnunemaker committed Aug 11, 2010
  3. Update mongo version.

    jnunemaker committed Aug 11, 2010
  4. 1.9 fix with fields.

    jnunemaker committed Aug 11, 2010
Commits on Aug 9, 2010
  1. Version bump.

    jnunemaker committed Aug 9, 2010
  2. Added ignore and only to the main query class.

    scottwater committed with jnunemaker Jun 25, 2010
    This will allow you to chain together including or excluding fields without having to understand the MongoDB internals around the :fields hash.
    
    query.include(:name).first
    query.only(:name).first
Commits on Jun 19, 2010
  1. Aliased offset to skip.

    jnunemaker committed Jun 19, 2010
  2. Aliased order to sort.

    jnunemaker committed Jun 19, 2010
  3. Forgot to splat the args to fields so hash arg came in as array with …

    jnunemaker committed Jun 19, 2010
    …one hash which meant you could not negate fields.
Commits on Jun 18, 2010
  1. Straightening up test dependencies and moving things around in prepar…

    jnunemaker committed Jun 18, 2010
    …ation for better test running.
Commits on Jun 17, 2010
  1. Release 0.3.1.

    jnunemaker committed Jun 17, 2010
  2. Delegate #include? to #to_a.

    jnunemaker committed Jun 17, 2010
  3. Alias exist to exists.

    jnunemaker committed Jun 17, 2010
  4. Added exists?.

    jnunemaker committed Jun 17, 2010
Commits on Jun 16, 2010
  1. Release 0.3.0.

    jnunemaker committed Jun 16, 2010
  2. Minor: spacing in Query.

    jnunemaker committed Jun 16, 2010
Commits on Jun 15, 2010
  1. Added Query#empty? which returns true or false depending on if any do…

    jnunemaker committed Jun 15, 2010
    …cuments are found for query.
Commits on Jun 4, 2010
  1. Explicitly define all the symbol methods and include them so there is…

    jnunemaker committed Jun 4, 2010
    … a trail to follow for runtime spelunkers.
  2. Readme update.

    jnunemaker committed Jun 4, 2010
Commits on May 31, 2010
  1. Instead of checking array/hash in initialize_copy I'm going the rails…

    jnunemaker committed May 31, 2010
    … route of defining what is duplicable? and cloning if true.
  2. Release 0.2.1.

    jnunemaker committed May 31, 2010
  3. Release 0.2.

    jnunemaker committed May 31, 2010
    * Added Query#paginate which returns decorated array ready to use with will paginate, etc.
    * Changed Query#find to find_many.
    * Original query object never gets modified anymore. Now they all clone and update.
    * Added Query#find to find by ids.
Commits on May 29, 2010
Commits on May 28, 2010
  1. All the methods that actually perform queries no longer update the op…

    jnunemaker committed May 28, 2010
    …tions of the original query. Makes more sense this way.