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. 1.0.0
    1. source

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

SHA 256 checksum