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).
Required Ruby Version
None
Authors
Thomas Baustert
Versions
- 1.0.0 March 10, 2009This gem version was imported to RubyGems.org on July 25, 2009. The date displayed was specified by the author in the gemspec. (8 KB)