Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Feb 17, 2012
  1. Begin re-write to by_star 2.0.0

Commits on Aug 29, 2011
  1. Bump to 1.0.1

Commits on Aug 26, 2011
Commits on Oct 2, 2010
  1. 1.0.0 release

  2. Remove old by_star files.

  3. Change by_star to use the `bundle gem` layout. Move all by_star files…

    … to lib/by_star rather than having them in the root directory.
Commits on Jul 29, 2010
Commits on Jun 4, 2010
  1. Support by_star_field being a string for previous and next methods an…

    …d calculate the beginning of a week predictably Sunday.
Commits on May 4, 2010
  1. Cleanup the repo.

  2. Add by_star_field so you don't have to specify :field for every singl…

    …e method call. /hattip Erik Fonselius
Commits on Mar 25, 2010
  1. Add previous and next, since this seems to be a common thing that peo…

    Ryan Bigg authored
    …ple love doing some Wheel Re-invention of. Thought I'd do my own. Hat-tip Sam Elliott.
Commits on Mar 20, 2010
  1. Fix up some more tests... getting there!

    Ryan Bigg authored
Commits on Mar 14, 2010
  1. Quoting the field is proving more trouble than it is worth. I am sorr…

    Ryan Bigg authored
    …y to say: Do It Yourself.
Commits on Feb 23, 2010
  1. Fix bug in count_by_year where year was not being passed to the start…

    …_of_year method called in end_of_year
Commits on Feb 19, 2010
  1. Add sum_by_day method

Commits on Jan 24, 2010
Commits on Nov 17, 2009
  1. Fixed serious bug where calling to_s on nil resulted in an empty stri…

    …ng. Broke lots of things.
Commits on Nov 14, 2009
Commits on Nov 4, 2009
  1. Version bump to 0.5.0 - If you need me to quote YOUR table/field name…

    …s for you, YOU'RE doing it wrong.
Commits on Oct 30, 2009
  1. Refactored all the calls to with_scope into a single scoped_by method…

    …, added ordering to by_direction methods and now all methods support find options for scoping.
Commits on Oct 27, 2009
  1. Added order scoping.

Commits on Oct 17, 2009
  1. Use

  2. Split logic into separate modules as it was getting bulky. Implemente…

    …d sum_by_month and sum_by_year.
Commits on Oct 16, 2009
Commits on Aug 29, 2009
Commits on Aug 28, 2009
  1. Merge branch 'thomas'

    * thomas:
      Again prove to thomas he is wrong.
      Prove to Thomas that he's wrong.
      Add by_current_work_week and cheat a little when working out the end of a weekend.
      Add by_current_weekend, for giving objects between 3pm Friday and 3pm Monday. If currently weekend will return current weekend.
Commits on Jul 27, 2009
Something went wrong with that request. Please try again.