Permalink
Commits on Jun 16, 2010
  1. @jnunemaker

    Release 0.3.0.

    jnunemaker committed Jun 16, 2010
  2. @jnunemaker
  3. @jnunemaker

    Minor: spacing in Query.

    jnunemaker committed Jun 16, 2010
  4. @jnunemaker
  5. @jnunemaker
Commits on Jun 15, 2010
  1. @jnunemaker

    Added Query#empty? which returns true or false depending on if any do…

    …cuments are found for query.
    jnunemaker committed Jun 15, 2010
  2. @jnunemaker
Commits on Jun 4, 2010
  1. @jnunemaker

    Explicitly define all the symbol methods and include them so there is…

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

    Readme update.

    jnunemaker committed Jun 4, 2010
Commits on May 31, 2010
  1. @jnunemaker

    Instead of checking array/hash in initialize_copy I'm going the rails…

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

    Release 0.2.1.

    jnunemaker committed May 31, 2010
  3. @jnunemaker
  4. @jnunemaker

    Release 0.2.

    * 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.
    jnunemaker committed May 31, 2010
Commits on May 29, 2010
  1. @jnunemaker
Commits on May 28, 2010
  1. @jnunemaker
  2. @jnunemaker

    All the methods that actually perform queries no longer update the op…

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

    Added OptionsHash##merge and #merge! and dup'ing arrays and hash valu…

    …es in initialize_copy.
    jnunemaker committed May 28, 2010
  4. @jnunemaker
  5. @jnunemaker
  6. @jnunemaker
  7. @jnunemaker
  8. @jnunemaker
  9. @jnunemaker
  10. @jnunemaker

    Added pagination.

    jnunemaker committed May 28, 2010
Commits on May 26, 2010
  1. @jnunemaker
  2. @jnunemaker
  3. @jnunemaker
  4. @jnunemaker

    Remove rubygems version requirement. Shouldn't really matter at all. …

    …Might as well be more liberal.
    jnunemaker committed May 26, 2010
Commits on May 23, 2010
  1. @jnunemaker

    Release 0.1.3.

    * Added initialize_copy to OptionsHash, CriteriaHash, Query so they clone/dup properly
    * Simplified Query#all
    * Added CriteriaHash#simple?
    * Added OptionsHash#fields? to return true/false based on whether fields have been selected
    * Prettier inspecting of Query
    jnunemaker committed May 23, 2010
  2. @jnunemaker
  3. @jnunemaker

    Added initialize_copy to OptionsHash, CriteriaHash, and Query which m…

    …akes clone/dup work correctly. Merged queries no longer share the same referenced options/criteria.
    jnunemaker committed May 23, 2010
Commits on May 21, 2010
  1. @jnunemaker

    Added OptionsHash#fields? to return true/false if we are selecting fi…

    …elds. Delegated Query#fields? to options hash.
    jnunemaker committed May 21, 2010
  2. @jnunemaker