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
/
test
/
cases
/
calculations_test.rb
Commit message (
Expand
)
Author
Age
Files
Lines
...
*
Remove legacy mysql adapter
Ryuta Kamizono
2015-12-21
1
-2
/
+2
*
Remove legacy mysql adapter
Abdelkader Boudih
2015-12-17
1
-1
/
+1
*
Fix generated projection fields in group by query
Rafael Sales
2015-10-22
1
-0
/
+5
*
Merge pull request #20653 from repinel/allow-arel-select-count
Sean Griffin
2015-10-20
1
-0
/
+52
|
\
|
*
Allow select with Arel and count as well as calculations with Arel
Roque Pinel
2015-06-30
1
-0
/
+52
*
|
Qualify column names in calculation
Soutaro Matsumoto
2015-10-20
1
-0
/
+19
*
|
Fix AC::Parameters not being sanitized for query methods.
Guo Xiang Tan
2015-10-02
1
-0
/
+32
|
/
*
Use `Enumerable#sum` on `ActiveRecord::Relation` when a block is given
Sean Griffin
2015-06-19
1
-0
/
+10
*
Fix postgresql DISTINCT requirement in pluck test
Kevin Deisz
2015-06-02
1
-2
/
+2
*
Allow Enumerable#pluck to take a splat.
Kevin Deisz
2015-05-29
1
-0
/
+21
*
deprecate `Relation#uniq` use `Relation#distinct` instead.
Yves Senn
2015-05-26
1
-3
/
+6
*
Fix referencing wrong aliases while joining tables of has many through
pinglamb
2015-03-22
1
-0
/
+11
*
Allow a symbol to be passed to `attribute`, in place of a type object
Sean Griffin
2015-02-06
1
-3
/
+3
*
Don't error when grouped calculations return 0 records
Sean Griffin
2015-01-28
1
-0
/
+5
*
Add test case for joined pluck
Sean Griffin
2014-12-11
1
-0
/
+7
*
Improve the test case introduced by bd0d47e
Sean Griffin
2014-12-11
1
-19
/
+10
*
Fix ProtocolViolation/bind message supplies for polymorphic + pluck or group
Miklos Fazkeas
2014-12-11
1
-0
/
+24
*
Don't require calculations to be aliased to a column
Sean Griffin
2014-10-31
1
-1
/
+0
*
Move association definition to the model file
Akira Matsuda
2014-08-28
1
-2
/
+0
*
Be sure that test fixtures satisfy referential integrity before calculating
Akira Matsuda
2014-08-28
1
-1
/
+1
*
Don't use `Column` for type casting in Relation calculations
Sean Griffin
2014-06-18
1
-5
/
+0
*
Pluck should work with columns of the same name from different tables
Sean Griffin
2014-06-11
1
-0
/
+7
*
Rename `property` to `attribute`
Sean Griffin
2014-06-07
1
-3
/
+3
*
Deprecate decimal columns being automatically treated as integers
Sean Griffin
2014-05-27
1
-0
/
+4
*
Ignore order when doing count.
Lauro Caetano
2014-04-07
1
-0
/
+14
*
Ensure AR #second, #third, etc. finders work through associations
Jason Meller
2014-01-21
1
-2
/
+2
*
Ensure #second acts like #first AR finder
Jason Meller
2014-01-20
1
-8
/
+10
*
Fix type cast on group sum with custom expression
Paul Nikitochkin
2013-12-10
1
-0
/
+4
*
Change test_registering_new_handlers and test_count_on_invalid_columns_raises
Yasuo Honda
2013-08-02
1
-1
/
+1
*
Remove deprecated `:distinct` option from `Relation#count`.
Yves Senn
2013-07-01
1
-10
/
+0
*
Remove fall back and column restrictions for `count`.
Yves Senn
2013-06-09
1
-0
/
+9
*
Merge pull request #10561 from Empact/nix-throwresult
Jon Leighton
2013-06-07
1
-0
/
+11
|
\
|
*
Add coverage for the fact that pluck without an argument returns all the tabl...
Ben Woosley
2013-05-10
1
-0
/
+5
|
*
Fix that #pluck wasn't rescuing ThrowResult, meaning it would blow up when fa...
Ben Woosley
2013-05-10
1
-0
/
+6
*
|
Remove #sum with a block was deprecated.
kennyj
2013-06-01
1
-6
/
+0
|
/
*
Handle aliased attributes in ActiveRecord::Relation.
Godfrey Chan
2013-05-01
1
-0
/
+12
*
replace #merge with relation API calls in calculations_test.
Yves Senn
2013-04-02
1
-17
/
+13
*
Deprecate the `:distinct` option for `Relation#count`.
Yves Senn
2013-03-15
1
-4
/
+14
*
rename `Relation#uniq` to `Relation#distinct`. `#uniq` still works.
Yves Senn
2013-03-15
1
-1
/
+2
*
`#count` in conjunction with `#uniq` performs distinct count.
Yves Senn
2013-01-26
1
-0
/
+4
*
fix PG typecasting errors
Aaron Patterson
2012-12-28
1
-20
/
+7
*
Deprecate Relation#sum with a block.
Carlos Antonio da Silva
2012-11-21
1
-2
/
+4
*
Revert "Yield only one argument instead of splatting."
Carlos Antonio da Silva
2012-11-21
1
-16
/
+0
*
`#pluck` can be used on a relation with `select` clause.
Yves Senn
2012-11-12
1
-0
/
+6
*
remove unused variables. Oops!
Aaron Patterson
2012-10-17
1
-2
/
+2
*
use columns hash to look up the column for the count field
Aaron Patterson
2012-10-17
1
-13
/
+6
*
ActiveRecord: sum expression returns string '0' for no records, fixed
Tim Macfarlane
2012-10-15
1
-0
/
+4
*
Fix pluck when columns/tables are reserved words.
Ian Lesperance
2012-09-05
1
-2
/
+9
*
Remove ActiveRecord::Base.to_a
Jon Leighton
2012-08-03
1
-1
/
+1
*
Deprecate ActiveRecord::Base.scoped.
Jon Leighton
2012-07-27
1
-13
/
+13
[prev]
[next]