RubyGems Navigation menu

date_scopes 0.1.5

Adds a simple macro, has_date_scopes to ActiveRecord. When used it adds a number of convinience scopes to your models relating to a whether a particular date field on that model is in the past or future. It also has other handy features.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.1.5 - February 01, 2011 (12 KB)
  2. 0.1.4 - January 28, 2011 (11.5 KB)
  3. 0.1.3 - January 27, 2011 (9 KB)
  4. 0.1.2 - December 02, 2010 (11.5 KB)
  5. 0.1.1 - December 02, 2010 (11.5 KB)
Show all versions (6 total)

Runtime Dependencies (1):

Development Dependencies (4):

bundler >= 1.0.0
rspec ~> 2
timecop >= 0

Owners:

Authors:

  • Jonathan Davies, ThroughTheNet

SHA 256 checksum:

91c31a405daae2787691809f7482c4421a908b8eee66349016653f4d83140632

Total downloads 24,777

For this version 4,979

Licenses:

N/A

Required Ruby Version: None

Required Rubygems Version: >= 1.3.6

Links: