RubyGems Navigation menu

date_scopes 0.1

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)
  6. 0.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:

dc58675e4040b902cf44868e83623ae8fe59e5d6253d2a5dbc9615d5c68e1ea2

Total downloads 24,759

For this version 3,956

Licenses:

N/A

Required Ruby Version: None

Required Rubygems Version: >= 1.3.6

Links: