aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/calculations.rb
Commit message (Expand)AuthorAgeFilesLines
* Adding :from scoping to ActiveRecord calculationsMatt Duncan2009-08-091-0/+2
* Break up DependencyModule's dual function of providing a "depend_on" DSL and ...Joshua Peek2009-05-281-1/+1
* Use DependencyModule for included hooks in ActiveRecordBryan Helmkamp2009-05-111-3/+2
* Ensure calculations respect scoped :select [#1334 state:resolved]stopdropandrew2009-03-071-5/+13
* Allow :having conditions to be sanitized like regular :condition. [#2158 stat...Will Bryant2009-03-061-3/+5
* Merge docrailsPratik Naik2009-01-181-8/+16
* Make sure any Fixnum returned by a DB sum is type cast to a Float before stan...Ken Collins2008-11-131-1/+1
* Add simple case when DB calculations returns 0 instead of 0.0 [#1346 state:re...Joshua Peek2008-11-101-1/+1
* If average value from DB is 0, make sure to convert it to a 0.0 float before ...Ken Collins2008-11-071-1/+1
* Ensure Model.sum and Model.avg typecast appropriately. [#1066 state:resolved]Pratik Naik2008-10-041-3/+7
* Remove AS for oracle compatibilityMichael Koziarski2008-10-031-1/+1
* Interpolation requires double quotesMichael Koziarski2008-09-091-1/+1
* Merge docrailsPratik Naik2008-09-031-2/+2
* Merge scoped :joins together instead of overwriting them. May expose scoping ...Andrew White2008-08-281-1/+1
* Alias included associations if needed when doing a countTarmo Tänav2008-08-271-2/+8
* Performance: reduce garbage created by ActiveRecord::Calculations#column_alia...Joshua Peek2008-08-261-1/+8
* Alias subquery used in calculations, to provide better compatibility with dat...Michalis Polakis2008-08-111-1/+1
* Add :from option to calculations. [#397 state:resolved]Ben Munat2008-06-111-3/+9
* Ensure AR#sum result is typecasted properlyPratik Naik2008-06-021-2/+3
* Ensure Associations#sum returns 0 when no rows are returned. [#295 state:reso...Jonathan Viney2008-06-021-3/+3
* Merge docrails.Pratik Naik2008-05-251-10/+12
* Improve documentation coverage and markupXavier Noria2008-05-021-6/+6
* Avoid adding two DISTINCT statements to queries in sqlite 2.Frederick Cheung2008-04-211-1/+1
* ActiveRecord::Base#sum defaults to 0 if no rows are returned. Closes #11550 ...Rick Olson2008-04-081-1/+1
* Don't double include DISTINCT when the user has already specified it. Closes...Michael Koziarski2008-04-041-1/+4
* Ensure that you can still do expressions in calculations (closes #11355) [nbu...David Heinemeier Hansson2008-03-171-1/+2
* Ensure that ActiveRecord::Calculations disambiguates field names with the tab...Rick Olson2008-03-131-0/+1
* Fix calculations on associations with custom :foreign_key. Closes #8117 [kama...Jeremy Kemper2008-02-021-1/+1
* Ruby 1.9 compat: calculations don't assume array implementation of ordered ha...Jeremy Kemper2007-12-271-1/+2
* Remove references to nonexistent :joins documentation. Closes #10498 [tpope]Marcel Molina2007-12-131-4/+2
* Document how the :include option can be used in Calculations::calculate. Clo...Marcel Molina2007-12-051-0/+2
* Smattering of grammatical fixes to documentation. Closes #10083 [BobSilva]Marcel Molina2007-11-081-10/+13
* Address shortcomings of changeset [8054] [protocool]David Heinemeier Hansson2007-11-071-15/+4
* Standardize on using hyphens rather than colons to separate option names from...Marcel Molina2007-11-061-6/+6
* Escape table names during calculation queries. [wesley.moxam, Koz] Closes #4593Michael Koziarski2007-10-311-2/+2
* Introduce finder :joins with associations. Same :include syntax but with inne...Jeremy Kemper2007-10-291-4/+15
* Fix and properly document/test count(column_name) usage. Closes #8999 [lifofifo]Rick Olson2007-07-171-8/+14
* Remove deprecated count(conditions=nil, joins=nil) usage. Closes #8993 [lifo...Rick Olson2007-07-161-27/+10
* Calculations support non-numeric foreign keys. Closes #8154.Jeremy Kemper2007-06-011-1/+2
* Calculations: return nil average instead of 0 when there are no rows to avera...Jeremy Kemper2007-05-301-1/+1
* documentation project patches, closes #7342, #7319, #7316, #7190 [jeremymcana...Rick Olson2007-03-271-2/+2
* SQLite: count(distinct) queries supported in >= 3.2.6, fix calculations worka...Jeremy Kemper2006-11-051-14/+21
* Include caller of deprecated count method.Jeremy Kemper2006-09-291-2/+3
* Deprecation: count class method should be called with an options hash rather ...Jeremy Kemper2006-09-261-14/+23
* Fixed that count distinct should use the selected column even when using :inc...David Heinemeier Hansson2006-06-031-1/+1
* Namespaced OrderedHash so the Rails implementation does not clash with any ot...Rick Olson2006-04-301-1/+1
* When grouping, use the appropriate option key. [Marcel Molina Jr.]Marcel Molina2006-04-281-1/+5
* Add support for FrontBase (http://www.frontbase.com/) with a new adapter than...Marcel Molina2006-04-271-2/+12
* Fix bug where calculations with long alias names return null. [Rick]Rick Olson2006-04-251-4/+4
* Allow all calculations to take the :include option, not just COUNT (closes #4...Rick Olson2006-04-251-34/+43