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
/
lib
/
active_record
/
relation
/
calculations.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
Handle aliased attributes in ActiveRecord::Relation.
Godfrey Chan
2013-05-01
1
-8
/
+18
*
Prefer find_by over dynamic finders in rdoc
Sam Ruby
2013-04-02
1
-1
/
+1
*
Merge branch 'master' of github.com:lifo/docrails
Vijay Dev
2013-03-30
1
-1
/
+1
|
\
|
*
Uniq cannot be used directly on an ActiveRecord model. 'DISTINCT field' is th...
Daniel Lobato
2013-03-12
1
-1
/
+1
*
|
Deprecate the `:distinct` option for `Relation#count`.
Yves Senn
2013-03-15
1
-2
/
+7
*
|
rename `Relation#uniq` to `Relation#distinct`. `#uniq` still works.
Yves Senn
2013-03-15
1
-2
/
+2
|
/
*
copy edits [ci skip]
Vijay Dev
2013-02-15
1
-1
/
+1
*
Add ActiveRecord.count documentation when used on group relations
Maurizio De Santis
2013-02-07
1
-0
/
+6
*
`#count` in conjunction with `#uniq` performs distinct count.
Yves Senn
2013-01-26
1
-1
/
+2
*
Revert "Merge pull request #8989 from robertomiranda/use-rails-4-find-by"
Guillermo Iguaran
2013-01-18
1
-1
/
+1
*
User Rails 4 find_by
robertomiranda
2013-01-18
1
-1
/
+1
*
These are already required through AS/rails
Akira Matsuda
2013-01-07
1
-2
/
+0
*
warning removed: shadowing outer local variable
Arun Agrawal
2012-12-30
1
-2
/
+2
*
fix time typcasting on group counts in PG
Aaron Patterson
2012-12-28
1
-2
/
+5
*
mysql does not return alias names, so fall back
Aaron Patterson
2012-12-28
1
-4
/
+10
*
fix PG typecasting errors
Aaron Patterson
2012-12-28
1
-2
/
+5
*
Cleans and removes useless 'Examples' tag [ci skip]
Alvaro Pereyra
2012-12-01
1
-7
/
+2
*
copy edits [ci skip]
Vijay Dev
2012-12-01
1
-1
/
+1
*
Fix Calculations#pluck doc to mention several attributes can be selected [ci ...
Florent Guilleux
2012-12-01
1
-3
/
+3
*
Deprecate Relation#sum with a block.
Carlos Antonio da Silva
2012-11-21
1
-0
/
+6
*
Revert "Yield only one argument instead of splatting."
Carlos Antonio da Silva
2012-11-21
1
-14
/
+3
*
Remove not used require and some useless test comments
Carlos Antonio da Silva
2012-11-17
1
-2
/
+0
*
Merge branch 'master' of github.com:lifo/docrails
Vijay Dev
2012-11-17
1
-1
/
+1
|
\
|
*
1.9 Syntax related changes
AvnerCohen
2012-11-10
1
-1
/
+1
*
|
arel columns can be used for grouping so that "weird" column names are usable
Aaron Patterson
2012-11-15
1
-0
/
+4
*
|
stop hardcoding FrontBase adapter conditionals
Aaron Patterson
2012-11-15
1
-1
/
+1
*
|
stop passing *args to generate aliases
Aaron Patterson
2012-11-15
1
-4
/
+2
*
|
create fewer relation objects
Aaron Patterson
2012-11-15
1
-3
/
+6
*
|
`#pluck` can be used on a relation with `select` clause.
Yves Senn
2012-11-12
1
-1
/
+3
|
/
*
use columns hash to look up the column for the count field
Aaron Patterson
2012-10-17
1
-1
/
+1
*
ActiveRecord: sum expression returns string '0' for no records, fixed
Tim Macfarlane
2012-10-15
1
-1
/
+1
*
Fix pluck when columns/tables are reserved words.
Ian Lesperance
2012-09-05
1
-1
/
+1
*
load active_support/core_ext/object/blank in active_support/rails
Xavier Noria
2012-08-02
1
-1
/
+0
*
Ensure Arel columns are typecasted properly when grouping with calculation
Carlos Antonio da Silva
2012-06-25
1
-6
/
+6
*
Stop assuming strings for grouped calculations
Ernie Miller
2012-06-24
1
-6
/
+17
*
Add changelog entry and guide updates for pluck with multiple columns
Carlos Antonio da Silva
2012-06-22
1
-0
/
+1
*
Refactor pluck with multiple columns
Carlos Antonio da Silva
2012-06-22
1
-26
/
+13
*
ActiveRecord#pluck now accepts multiple columns
jeroeningen
2012-06-22
1
-15
/
+35
*
Extract conditional to a method to avoid duplication
Rafael Mendonça França
2012-06-19
1
-15
/
+19
*
handle joins/includes correctly for pluck and calculation.
Andrey Deryabin
2012-06-19
1
-1
/
+6
*
Fix wrong example for count method with block [ci skip]
Carlos Antonio da Silva
2012-05-31
1
-1
/
+1
*
Merge branch 'master' of github.com:lifo/docrails
Vijay Dev
2012-05-30
1
-1
/
+1
|
\
|
*
"a sql" -> "an SQL" per API documentation guidelines
Mark Rushakoff
2012-05-27
1
-1
/
+1
*
|
Yield only one argument instead of splatting.
Carlos Antonio da Silva
2012-05-28
1
-2
/
+2
*
|
Allow blocks for count with ActiveRecord::Relation. Document and test that su...
chrisfinne
2012-05-28
1
-3
/
+14
|
/
*
assuming there is only one column, we can simplify the type cast loop
Aaron Patterson
2012-05-16
1
-7
/
+6
*
MySQL returns "SUM(DISTINCT(credit_limit))" as the column name unless
Aaron Patterson
2012-05-16
1
-4
/
+11
*
Fixes issue where SQL fragments prevented type casting based on column type.
Erich Menge
2012-05-16
1
-8
/
+3
*
Expand and improve #pluck docs
Jeremy Kemper
2012-05-15
1
-6
/
+27
*
Restore support for Model.pluck('sql fragment')
Jeremy Kemper
2012-05-15
1
-1
/
+2
[next]