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
/
lib
/
active_record
/
calculations.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
Revert "Split arel_table into method to get a relation and another to memoize...
Jeremy Kemper
2009-11-13
1
-2
/
+2
*
Split arel_table into method to get a relation and another to memoize the def...
Jeremy Kemper
2009-11-13
1
-2
/
+2
*
Use immutable relation objects to generate queries.
Emilio Tagua
2009-08-18
1
-8
/
+7
*
Use finder options as relation method names to provide more familiar
Emilio Tagua
2009-08-18
1
-9
/
+9
*
Remove group when building the relation, it will be added later if
Emilio Tagua
2009-08-16
1
-1
/
+0
*
Don't use regular rinder on calculations since scoping order blows
Emilio Tagua
2009-08-14
1
-1
/
+7
*
Use ARel's joins when building a query for finding records with included
Emilio Tagua
2009-08-14
1
-17
/
+6
*
Merge commit 'rails/master'
Emilio Tagua
2009-08-10
1
-1
/
+0
|
\
|
*
Adding :from scoping to ActiveRecord calculations
Matt Duncan
2009-08-09
1
-0
/
+2
*
|
Don't scope order in calculations.'
Emilio Tagua
2009-08-07
1
-1
/
+1
*
|
More work on removing plain SQL from associations and use ARel instead.
Emilio Tagua
2009-08-07
1
-11
/
+20
*
|
Refactoring: Calculations now use construct_finder_sql instead they own method.
Emilio Tagua
2009-06-23
1
-19
/
+4
*
|
Merge commit 'rails/master'
Emilio Tagua
2009-06-02
1
-1
/
+1
|
\
|
|
*
Break up DependencyModule's dual function of providing a "depend_on" DSL and ...
Joshua Peek
2009-05-28
1
-1
/
+1
*
|
Refactors to work with latest Arel implementation.
Emilio Tagua
2009-06-02
1
-10
/
+9
*
|
Merge commit 'rails/master'
Emilio Tagua
2009-05-12
1
-3
/
+2
|
\
|
|
*
Use DependencyModule for included hooks in ActiveRecord
Bryan Helmkamp
2009-05-11
1
-3
/
+2
*
|
Refactor to calculations. Migration's versions are string not integer. ARel s...
Emilio Tagua
2009-05-06
1
-9
/
+8
*
|
Fixes to have all test passing on PostgreSQL.
Emilio Tagua
2009-05-04
1
-6
/
+22
*
|
Refactor to use arel_table method, and also use the same method name for inst...
Emilio Tagua
2009-05-02
1
-9
/
+7
*
|
Calculations now use Arel to construct the query.
Emilio Tagua
2009-04-29
1
-111
/
+86
|
/
*
Ensure calculations respect scoped :select [#1334 state:resolved]
stopdropandrew
2009-03-07
1
-5
/
+13
*
Allow :having conditions to be sanitized like regular :condition. [#2158 stat...
Will Bryant
2009-03-06
1
-3
/
+5
*
Merge docrails
Pratik Naik
2009-01-18
1
-8
/
+16
*
Make sure any Fixnum returned by a DB sum is type cast to a Float before stan...
Ken Collins
2008-11-13
1
-1
/
+1
*
Add simple case when DB calculations returns 0 instead of 0.0 [#1346 state:re...
Joshua Peek
2008-11-10
1
-1
/
+1
*
If average value from DB is 0, make sure to convert it to a 0.0 float before ...
Ken Collins
2008-11-07
1
-1
/
+1
*
Ensure Model.sum and Model.avg typecast appropriately. [#1066 state:resolved]
Pratik Naik
2008-10-04
1
-3
/
+7
*
Remove AS for oracle compatibility
Michael Koziarski
2008-10-03
1
-1
/
+1
*
Interpolation requires double quotes
Michael Koziarski
2008-09-09
1
-1
/
+1
*
Merge docrails
Pratik Naik
2008-09-03
1
-2
/
+2
*
Merge scoped :joins together instead of overwriting them. May expose scoping ...
Andrew White
2008-08-28
1
-1
/
+1
*
Alias included associations if needed when doing a count
Tarmo Tänav
2008-08-27
1
-2
/
+8
*
Performance: reduce garbage created by ActiveRecord::Calculations#column_alia...
Joshua Peek
2008-08-26
1
-1
/
+8
*
Alias subquery used in calculations, to provide better compatibility with dat...
Michalis Polakis
2008-08-11
1
-1
/
+1
*
Add :from option to calculations. [#397 state:resolved]
Ben Munat
2008-06-11
1
-3
/
+9
*
Ensure AR#sum result is typecasted properly
Pratik Naik
2008-06-02
1
-2
/
+3
*
Ensure Associations#sum returns 0 when no rows are returned. [#295 state:reso...
Jonathan Viney
2008-06-02
1
-3
/
+3
*
Merge docrails.
Pratik Naik
2008-05-25
1
-10
/
+12
*
Improve documentation coverage and markup
Xavier Noria
2008-05-02
1
-6
/
+6
*
Avoid adding two DISTINCT statements to queries in sqlite 2.
Frederick Cheung
2008-04-21
1
-1
/
+1
*
ActiveRecord::Base#sum defaults to 0 if no rows are returned. Closes #11550 ...
Rick Olson
2008-04-08
1
-1
/
+1
*
Don't double include DISTINCT when the user has already specified it. Closes...
Michael Koziarski
2008-04-04
1
-1
/
+4
*
Ensure that you can still do expressions in calculations (closes #11355) [nbu...
David Heinemeier Hansson
2008-03-17
1
-1
/
+2
*
Ensure that ActiveRecord::Calculations disambiguates field names with the tab...
Rick Olson
2008-03-13
1
-0
/
+1
*
Fix calculations on associations with custom :foreign_key. Closes #8117 [kama...
Jeremy Kemper
2008-02-02
1
-1
/
+1
*
Ruby 1.9 compat: calculations don't assume array implementation of ordered ha...
Jeremy Kemper
2007-12-27
1
-1
/
+2
*
Remove references to nonexistent :joins documentation. Closes #10498 [tpope]
Marcel Molina
2007-12-13
1
-4
/
+2
*
Document how the :include option can be used in Calculations::calculate. Clo...
Marcel Molina
2007-12-05
1
-0
/
+2
*
Smattering of grammatical fixes to documentation. Closes #10083 [BobSilva]
Marcel Molina
2007-11-08
1
-10
/
+13
[next]