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
...
*
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
*
ActiveRecord::Base.all returns a Relation.
Jon Leighton
2012-07-27
1
-1
/
+1
*
Deprecate update_column in favor of update_columns.
Rafael Mendonça França
2012-07-24
1
-2
/
+2
*
teaching the mysql adapter how to typecast strings returned from the database
Aaron Patterson
2012-07-13
1
-2
/
+2
*
Ensure Arel columns are typecasted properly when grouping with calculation
Carlos Antonio da Silva
2012-06-25
1
-3
/
+7
*
Stop assuming strings for grouped calculations
Ernie Miller
2012-06-24
1
-0
/
+5
*
Refactor pluck with multiple columns
Carlos Antonio da Silva
2012-06-22
1
-10
/
+16
*
ActiveRecord#pluck now accepts multiple columns
jeroeningen
2012-06-22
1
-1
/
+16
*
Extract conditional to a method to avoid duplication
Rafael Mendonça França
2012-06-19
1
-0
/
+3
*
handle joins/includes correctly for pluck and calculation.
Andrey Deryabin
2012-06-19
1
-0
/
+43
*
Allow blocks for count with ActiveRecord::Relation. Document and test that su...
chrisfinne
2012-05-28
1
-0
/
+16
*
MySQL returns "SUM(DISTINCT(credit_limit))" as the column name unless
Aaron Patterson
2012-05-16
1
-1
/
+5
*
Fixes issue where SQL fragments prevented type casting based on column type.
Erich Menge
2012-05-16
1
-0
/
+3
*
Restore support for Model.pluck('sql fragment')
Jeremy Kemper
2012-05-15
1
-0
/
+8
*
Fix PR #6091
Andrew White
2012-04-30
1
-1
/
+1
[prev]
[next]