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 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
*
Add ActiveRecord::Base#ids
twinturbo
2012-04-30
1
-0
/
+4
*
remove deprecate #calculate calls
Jon Leighton
2012-04-26
1
-76
/
+59
*
remove tests for #with_scope (it's now deprecated)
Jon Leighton
2012-04-25
1
-6
/
+0
*
fix tests
Jon Leighton
2012-04-13
1
-5
/
+5
*
typecast columns based on the returned types
Aaron Patterson
2012-02-09
1
-6
/
+1
*
PostgreSQL does not work in the same way of the other adapters
Rafael Mendonça França
2012-02-08
1
-3
/
+7
*
AR::Relation#pluck: improve to work with joins
Bogdan Gusiev
2012-02-08
1
-0
/
+11
*
Deprecate inferred JOINs with includes + SQL snippets.
Jon Leighton
2012-01-16
1
-3
/
+3
*
Revert "Deprecate implicit eager loading. Closes #950."
Jon Leighton
2012-01-16
1
-6
/
+4
*
Deprecate implicit eager loading. Closes #950.
Jon Leighton
2011-12-29
1
-4
/
+6
*
Make ActiveRecord::Relation#pluck work with serialized attributes
Jon Leighton
2011-12-22
1
-1
/
+8
*
ActiveRecord::Relation#pluck method
Bogdan Gusiev
2011-11-30
1
-0
/
+25
*
pg does not allow aliases in the having clause, but functions are fine
Aaron Patterson
2011-08-05
1
-1
/
+1
*
Fixed failing query when performing calculation with having based on select.
Dmitriy Kiriyenko
2011-07-27
1
-0
/
+7
*
Fixed AR::Relation#sum compatibility with Array#sum
Bogdan Gusiev
2011-07-05
1
-0
/
+4
*
please use ruby -I lib:test path/to/test.rb, or export RUBY_OPT
Aaron Patterson
2011-06-06
1
-1
/
+1
[next]