aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/calculations_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Oracle adapter returns numeric (not string) value after SUMRaimonds Simanovskis2009-08-061-1/+6
* Revert "Revert "Generate proper :counter_sql from :finder_sql when there is a...Pratik Naik2009-07-011-2/+2
* Revert "Generate proper :counter_sql from :finder_sql when there is a newline...Yehuda Katz + Carl Lerche2009-06-221-2/+2
* Generate proper :counter_sql from :finder_sql when there is a newline charact...Patrick Joyce2009-06-211-2/+2
* Fix duplicated test nameEmilio Tagua2009-04-291-1/+1
* Ruby 1.9 compat: rename deprecated assert_raises to assert_raise.Jeremy Kemper2009-03-081-2/+2
* Fix calculation tests to work on sqlitePratik Naik2009-03-071-5/+7
* Ensure calculations respect scoped :select [#1334 state:resolved]stopdropandrew2009-03-071-0/+11
* Allow :having conditions to be sanitized like regular :condition. [#2158 stat...Will Bryant2009-03-061-0/+8
* Bump mocha requirement for Ruby 1.9 compat. Remove uses_mocha.Jeremy Kemper2009-02-031-19/+17
* Rework ActiveSupport::OrderedHash to make lookups fasterFrederick Cheung2008-12-101-2/+3
* Make sure any Fixnum returned by a DB sum is type cast to a Float before stan...Ken Collins2008-11-131-0/+5
* Ensure Model.sum and Model.avg typecast appropriately. [#1066 state:resolved]Pratik Naik2008-10-041-3/+3
* Add :from option to calculations. [#397 state:resolved]Ben Munat2008-06-111-0/+46
* Ensure AR#sum result is typecasted properlyPratik Naik2008-06-021-0/+5
* Ensure Associations#sum returns 0 when no rows are returned. [#295 state:reso...Jonathan Viney2008-06-021-1/+2
* ActiveRecord::Base#sum defaults to 0 if no rows are returned. Closes #11550 ...Rick Olson2008-04-081-0/+4
* Don't double include DISTINCT when the user has already specified it. Closes...Michael Koziarski2008-04-041-0/+4
* Ensure that you can still do expressions in calculations (closes #11355) [nbu...David Heinemeier Hansson2008-03-171-0/+4
* Fix calculations on associations with custom :foreign_key. Closes #8117 [kama...Jeremy Kemper2008-02-021-0/+8
* Merge branch 'ar-test-cleanup' of git://git.geeksomnia.com/railsJeremy Kemper2008-01-211-2/+2
* Fix pathsJeremy Kemper2008-01-181-2/+2
* Move tests to casesJeremy Kemper2008-01-181-0/+251