aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/calculations_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Fixed pluck to be working with selects.Arun Agrawal2013-05-101-2/+3
* Revert "Merge pull request #8209 from senny/backport_8176"Rafael Mendonça França2013-05-081-3/+2
* Bring back test and changelog entry from #pluck method and select clauseCarlos Antonio da Silva2013-03-181-0/+6
* Revert "Merge pull request #8209 from senny/backport_8176"Aaron Patterson2013-03-051-6/+0
* Merge pull request #9078 from senny/6865_ar_count_with_uniqRafael Mendonça França2013-02-021-0/+4
* Fix pluck when columns/tables are reserved words.Ian Lesperance2013-01-231-2/+9
* Remove warning of unused variableRafael Mendonça França2012-12-101-1/+1
* Merge pull request #4942 from bogdan/pluck_joinsJosé Valim2012-12-031-0/+10
* backport #8176, `#pluck` can be used on a relation with `select` clause.Yves Senn2012-11-131-0/+6
* Ensure Arel columns are typecasted properly when grouping with calculationCarlos Antonio da Silva2012-06-251-2/+6
* Merge pull request #6842 from ernie/handle-non-strings-in-grouped-calculationsRafael Mendonça França2012-06-241-0/+5
* 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
* The type_cast_calculated_value method will trust DB types before casting to a...Ken Collins2011-02-031-0/+6
* Always return decimal average of integer fieldsRaimonds Simanovskis2011-01-101-0/+5
* Fix ActiveRecord calculations when grouped by multiple fieldsAlexandru Catighera2010-11-161-0/+13
* Honor distinct option when used with count operation after group clause [#572...Marcelo Giorgi2010-10-111-0/+9
* group clause must be more specificAaron Patterson2010-09-301-1/+1
* Tests proving #5441oleg dashevskii2010-09-301-1/+11
* update tests for mysql2 supportBrian Lopez2010-08-021-1/+1
* Add tests for relation count. Fix other tests that were conceptually wrong.Emilio Tagua2010-06-241-1/+1
* Refactor calculation test to remove unneeded SQLite special case.Santiago Pastorino2010-05-241-4/+1
* type_cast_calculated_value refactor: value is never a Fixnum here. Fix test s...Santiago Pastorino2010-05-111-2/+1
* Fix associations to call :destroy or :delete based on the right :dependent op...Carlos Antonio da Silva2010-03-091-2/+2
* future proofing the sqlite3 adapter codeAaron Patterson2010-01-261-0/+3
* Add Relation#construct_relation_for_association_calculations for calculations...Pratik Naik2010-01-191-17/+0
* Migrate all the calculation methods to RelationPratik Naik2009-12-291-10/+8
* Don't publicize with_scope for tests since it may shadow public misuseJeremy Kemper2009-12-281-1/+1
* Merge commit 'rails/master'Emilio Tagua2009-08-101-0/+6
|\
| * Adding :from scoping to ActiveRecord calculationsMatt Duncan2009-08-091-0/+6
* | Merge commit 'rails/master'Emilio Tagua2009-08-081-1/+6
|\|
| * Oracle adapter returns numeric (not string) value after SUMRaimonds Simanovskis2009-08-061-1/+6
* | Merge commit 'rails/master'Emilio Tagua2009-06-301-2/+2
|\|
| * Revert "Revert "Generate proper :counter_sql from :finder_sql when there is a...Pratik Naik2009-07-011-2/+2
| * Revert "Generate proper :counter_sql from :finder_sql when there is a newline...Yehuda Katz + Carl Lerche2009-06-221-2/+2
| * Generate proper :counter_sql from :finder_sql when there is a newline charact...Patrick Joyce2009-06-211-2/+2
* | Merge commit 'rails/master'Emilio Tagua2009-04-291-1/+1
|\|