RubyGems Navigation menu

named_scope_for_time_attr 1.0.0

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).

Versions:

  1. 1.0.0 - March 10, 2009 (8 KB)

Runtime Dependencies:

Development Dependencies:

Authors:

  • Thomas Baustert

Owners:

7c73198e68eae164799692eb200b94d7

Total downloads 1,556

For this version 1,555

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'named_scope_for_time_attr', '~> 1.0.0' = Copy to clipboard Copied!

install:
gem install named_scope_for_time_attr = Copy to clipboard Copied!

Links: