aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation/calculations.rb
Commit message (Collapse)AuthorAgeFilesLines
* we should always cast the value based on the columnAaron Patterson2010-10-111-1/+1
|
* Honor distinct option when used with count operation after group clause ↵Marcelo Giorgi2010-10-111-4/+8
| | | | [#5721 state:resolved]
* [#5441 state:resolved] refactoring code to determine aggregate columnAaron Patterson2010-09-301-11/+14
|
* refactoring to remove crazy logicAaron Patterson2010-09-281-1/+5
|
* fisting the postgresql testsAaron Patterson2010-09-281-1/+2
|
* avoid calling to_sql when we canAaron Patterson2010-09-281-3/+3
|
* removing an inject + merge in favor of Hash#[]Aaron Patterson2010-09-281-1/+1
|
* Goodbye inject, hello map.Emilio Tagua2010-09-221-7/+5
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* return is not needed hereNeeraj Singh2010-09-091-2/+2
|
* remove unnecessary callNeeraj Singh2010-09-091-1/+0
| | | | if operation is count then column_name will never be blank
* attributes should be constructed with table objectsAaron Patterson2010-09-071-1/+1
|
* attributes should be associated with tablesAaron Patterson2010-09-071-1/+1
|
* Use new finders syntax in docs.Emilio Tagua2010-09-011-2/+2
|
* minor formatting fixesNeeraj Singh2010-08-251-8/+6
|
* refactoring to remove duplicate logicAaron Patterson2010-08-181-4/+3
|
* call to present? is not necessaryAaron Patterson2010-08-181-2/+1
|
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-141-26/+26
| | | | 's/[ \t]*$//' -i {} \;)
* adds missing requires for Object#tryXavier Noria2010-08-091-0/+1
|
* ensuring that description does not exceed 100 columnsNeeraj Singh2010-08-021-27/+52
|
* revises the rdoc of #average according to 5f3bd55, and realigns when clausesXavier Noria2010-05-121-5/+4
|
* type_cast_calculated_value refactor: value is never a Fixnum here. Fix test ↵Santiago Pastorino2010-05-111-1/+1
| | | | | | | | since SQLite returns Float. [#4514 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Fix unintuitive behavior with multiple order and group clausesErnie Miller2010-05-061-1/+1
| | | | | | [#4545 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Allow pre-casted values (other than nil) to pass through from calculations ↵Brian Lopez2010-05-041-5/+9
| | | | | | | | un-touched [#4514 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* adds missing requires for Object#blank? and Object#present?Xavier Noria2010-03-281-0/+2
|
* Ignore order for simple calculations to make postgresql happyPratik Naik2010-01-201-1/+2
|
* Rename CalculationMethods to Calculations and get rid of the old ↵Pratik Naik2010-01-191-0/+258
Calculations module