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).
Gemfile:
=
Installeer:
=
Versies:
- 1.0.0 March 10, 2009* (8 KB)