aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/calculations_test.rb
Commit message (Expand)AuthorAgeFilesLines
...
* `#count` in conjunction with `#uniq` performs distinct count.Yves Senn2013-01-261-0/+4
* fix PG typecasting errorsAaron Patterson2012-12-281-20/+7
* Deprecate Relation#sum with a block.Carlos Antonio da Silva2012-11-211-2/+4
* Revert "Yield only one argument instead of splatting."Carlos Antonio da Silva2012-11-211-16/+0
* `#pluck` can be used on a relation with `select` clause.Yves Senn2012-11-121-0/+6
* remove unused variables. Oops!Aaron Patterson2012-10-171-2/+2
* use columns hash to look up the column for the count fieldAaron Patterson2012-10-171-13/+6
* ActiveRecord: sum expression returns string '0' for no records, fixedTim Macfarlane2012-10-151-0/+4
* Fix pluck when columns/tables are reserved words.Ian Lesperance2012-09-051-2/+9
* Remove ActiveRecord::Base.to_aJon Leighton2012-08-031-1/+1
* Deprecate ActiveRecord::Base.scoped.Jon Leighton2012-07-271-13/+13
* ActiveRecord::Base.all returns a Relation.Jon Leighton2012-07-271-1/+1
* Deprecate update_column in favor of update_columns.Rafael Mendonça França2012-07-241-2/+2
* teaching the mysql adapter how to typecast strings returned from the databaseAaron Patterson2012-07-131-2/+2
* Ensure Arel columns are typecasted properly when grouping with calculationCarlos Antonio da Silva2012-06-251-3/+7
* Stop assuming strings for grouped calculationsErnie Miller2012-06-241-0/+5
* Refactor pluck with multiple columnsCarlos Antonio da Silva2012-06-221-10/+16
* ActiveRecord#pluck now accepts multiple columnsjeroeningen2012-06-221-1/+16
* Extract conditional to a method to avoid duplicationRafael Mendonça França2012-06-191-0/+3
* handle joins/includes correctly for pluck and calculation.Andrey Deryabin2012-06-191-0/+43
* Allow blocks for count with ActiveRecord::Relation. Document and test that su...chrisfinne2012-05-281-0/+16
* MySQL returns "SUM(DISTINCT(credit_limit))" as the column name unlessAaron Patterson2012-05-161-1/+5
* Fixes issue where SQL fragments prevented type casting based on column type.Erich Menge2012-05-161-0/+3
* Restore support for Model.pluck('sql fragment')Jeremy Kemper2012-05-151-0/+8
* Fix PR #6091Andrew White2012-04-301-1/+1
* Add ActiveRecord::Base#idstwinturbo2012-04-301-0/+4
* remove deprecate #calculate callsJon Leighton2012-04-261-76/+59
* remove tests for #with_scope (it's now deprecated)Jon Leighton2012-04-251-6/+0
* fix testsJon Leighton2012-04-131-5/+5
* typecast columns based on the returned typesAaron Patterson2012-02-091-6/+1
* PostgreSQL does not work in the same way of the other adaptersRafael Mendonça França2012-02-081-3/+7
* AR::Relation#pluck: improve to work with joinsBogdan Gusiev2012-02-081-0/+11
* Deprecate inferred JOINs with includes + SQL snippets.Jon Leighton2012-01-161-3/+3
* Revert "Deprecate implicit eager loading. Closes #950."Jon Leighton2012-01-161-6/+4
* Deprecate implicit eager loading. Closes #950.Jon Leighton2011-12-291-4/+6
* Make ActiveRecord::Relation#pluck work with serialized attributesJon Leighton2011-12-221-1/+8
* ActiveRecord::Relation#pluck methodBogdan Gusiev2011-11-301-0/+25
* pg does not allow aliases in the having clause, but functions are fineAaron Patterson2011-08-051-1/+1
* Fixed failing query when performing calculation with having based on select.Dmitriy Kiriyenko2011-07-271-0/+7
* Fixed AR::Relation#sum compatibility with Array#sumBogdan Gusiev2011-07-051-0/+4
* please use ruby -I lib:test path/to/test.rb, or export RUBY_OPTAaron Patterson2011-06-061-1/+1
* Refactor Active Record test connection setup. Please see the RUNNING_UNIT_TES...Jon Leighton2011-06-041-1/+1
* Bug fixes:Fadzril Muhamad & Joseph Palermo2011-05-121-0/+11
* Merge branch 'master' into zomgAaron Patterson2011-03-291-2/+2
|\
| * Added new #update_column method.Sebastian Martinez2011-03-271-2/+2
| * Revert "Removed #update_attribute method. New #update_column method."Sebastian Martinez2011-03-271-2/+2
| * Removed #update_attribute method. New #update_column method.Sebastian Martinez2011-03-261-2/+2
* | Change behavior of count(:limit => x, :offset => y) to limit/offset before co...John Mileham2011-03-031-11/+26
|/
* skip this on oracleAaron Patterson2011-02-281-0/+2
* removing limits and offsets from COUNT queries unless both are specified. [#6...Aaron Patterson2011-02-251-0/+28