index
:
rails.git
3-2-stable-for-hmno
master
Mirror of official rails repo with custom fixes.
Harald Eilertsen
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
activerecord
/
test
/
cases
/
calculations_test.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
Always return decimal average of integer fields
Raimonds Simanovskis
2011-01-10
1
-0
/
+5
*
Fix ActiveRecord calculations when grouped by multiple fields
Alexandru Catighera
2010-11-16
1
-0
/
+13
*
Honor distinct option when used with count operation after group clause [#572...
Marcelo Giorgi
2010-10-11
1
-0
/
+9
*
group clause must be more specific
Aaron Patterson
2010-09-30
1
-1
/
+1
*
Tests proving #5441
oleg dashevskii
2010-09-30
1
-1
/
+11
*
update tests for mysql2 support
Brian Lopez
2010-08-02
1
-1
/
+1
*
Add tests for relation count. Fix other tests that were conceptually wrong.
Emilio Tagua
2010-06-24
1
-1
/
+1
*
Refactor calculation test to remove unneeded SQLite special case.
Santiago Pastorino
2010-05-24
1
-4
/
+1
*
type_cast_calculated_value refactor: value is never a Fixnum here. Fix test s...
Santiago Pastorino
2010-05-11
1
-2
/
+1
*
Fix associations to call :destroy or :delete based on the right :dependent op...
Carlos Antonio da Silva
2010-03-09
1
-2
/
+2
*
future proofing the sqlite3 adapter code
Aaron Patterson
2010-01-26
1
-0
/
+3
*
Add Relation#construct_relation_for_association_calculations for calculations...
Pratik Naik
2010-01-19
1
-17
/
+0
*
Migrate all the calculation methods to Relation
Pratik Naik
2009-12-29
1
-10
/
+8
*
Don't publicize with_scope for tests since it may shadow public misuse
Jeremy Kemper
2009-12-28
1
-1
/
+1
*
Merge commit 'rails/master'
Emilio Tagua
2009-08-10
1
-0
/
+6
|
\
|
*
Adding :from scoping to ActiveRecord calculations
Matt Duncan
2009-08-09
1
-0
/
+6
*
|
Merge commit 'rails/master'
Emilio Tagua
2009-08-08
1
-1
/
+6
|
\
|
|
*
Oracle adapter returns numeric (not string) value after SUM
Raimonds Simanovskis
2009-08-06
1
-1
/
+6
*
|
Merge commit 'rails/master'
Emilio Tagua
2009-06-30
1
-2
/
+2
|
\
|
|
*
Revert "Revert "Generate proper :counter_sql from :finder_sql when there is a...
Pratik Naik
2009-07-01
1
-2
/
+2
|
*
Revert "Generate proper :counter_sql from :finder_sql when there is a newline...
Yehuda Katz + Carl Lerche
2009-06-22
1
-2
/
+2
|
*
Generate proper :counter_sql from :finder_sql when there is a newline charact...
Patrick Joyce
2009-06-21
1
-2
/
+2
*
|
Merge commit 'rails/master'
Emilio Tagua
2009-04-29
1
-1
/
+1
|
\
|
|
*
Fix duplicated test name
Emilio Tagua
2009-04-29
1
-1
/
+1
*
|
Calculations now use Arel to construct the query.
Emilio Tagua
2009-04-29
1
-1
/
+1
|
/
*
Ruby 1.9 compat: rename deprecated assert_raises to assert_raise.
Jeremy Kemper
2009-03-08
1
-2
/
+2
*
Fix calculation tests to work on sqlite
Pratik Naik
2009-03-07
1
-5
/
+7
*
Ensure calculations respect scoped :select [#1334 state:resolved]
stopdropandrew
2009-03-07
1
-0
/
+11
*
Allow :having conditions to be sanitized like regular :condition. [#2158 stat...
Will Bryant
2009-03-06
1
-0
/
+8
*
Bump mocha requirement for Ruby 1.9 compat. Remove uses_mocha.
Jeremy Kemper
2009-02-03
1
-19
/
+17
*
Rework ActiveSupport::OrderedHash to make lookups faster
Frederick Cheung
2008-12-10
1
-2
/
+3
*
Make sure any Fixnum returned by a DB sum is type cast to a Float before stan...
Ken Collins
2008-11-13
1
-0
/
+5
*
Ensure Model.sum and Model.avg typecast appropriately. [#1066 state:resolved]
Pratik Naik
2008-10-04
1
-3
/
+3
*
Add :from option to calculations. [#397 state:resolved]
Ben Munat
2008-06-11
1
-0
/
+46
*
Ensure AR#sum result is typecasted properly
Pratik Naik
2008-06-02
1
-0
/
+5
*
Ensure Associations#sum returns 0 when no rows are returned. [#295 state:reso...
Jonathan Viney
2008-06-02
1
-1
/
+2
*
ActiveRecord::Base#sum defaults to 0 if no rows are returned. Closes #11550 ...
Rick Olson
2008-04-08
1
-0
/
+4
*
Don't double include DISTINCT when the user has already specified it. Closes...
Michael Koziarski
2008-04-04
1
-0
/
+4
*
Ensure that you can still do expressions in calculations (closes #11355) [nbu...
David Heinemeier Hansson
2008-03-17
1
-0
/
+4
*
Fix calculations on associations with custom :foreign_key. Closes #8117 [kama...
Jeremy Kemper
2008-02-02
1
-0
/
+8
*
Merge branch 'ar-test-cleanup' of git://git.geeksomnia.com/rails
Jeremy Kemper
2008-01-21
1
-2
/
+2
*
Fix paths
Jeremy Kemper
2008-01-18
1
-2
/
+2
*
Move tests to cases
Jeremy Kemper
2008-01-18
1
-0
/
+251