RubyGems.org

Provides the ActiveRecord helper method <tt>named_scope_for_time_attr</tt>. Given the name of a time attribute of an ActiveRecord model (e.g. <tt>created_at</tt> of <tt>Claim</tt>) it defines a correspondent named scope for easy access to an arbitrarily time range (scope).

installgem install named_scope_for_time_attr
Authors

Thomas Baustert

1,454 total downloads 1,453 for this version
Owners

7c73198e68eae164799692eb200b94d7

Gemfile
gem 'named_scope_for_time_attr', '~> 1.0.0'
Versions
  1. 1.0.0 March 10, 2009 (8 KB)
Development Dependencies
  1. hoe >= 1.8.0
  2. newgem >= 1.2.3