RubyGems.org

Defines Array#calculation methods for ActiveRecord result sets. Provides #sum, #min, #max, #count, #mean, #regression, #slope. Delegates to super() if not an AR result set where appropriate.

installgem install ar_result_calculations -v 0.0.2
Authors

Kip Cole

9,770 total downloads 1,993 for this version
Owners

9347d4d9f9c4272f6a3297ea3a5976ac

Gemfile
gem 'ar_result_calculations', '~> 0.0.2'
Versions
  1. 0.0.5 December 1, 2010 (7.5 KB)
  2. 0.0.4 December 1, 2010 (7.5 KB)
  3. 0.0.3 December 1, 2010 (7 KB)
  4. 0.0.2 October 29, 2010 (7 KB)
  5. 0.0.1 October 29, 2010 (6.5 KB)