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
*
Remove support to activerecord-deprecated_finders
Rafael Mendonça França
2015-01-02
1
-25
/
+12
*
Fix ProtocolViolation/bind message supplies for polymorphic + pluck or group
Miklos Fazkeas
2014-12-11
1
-2
/
+2
*
Correctly cast calculation results on PG
Sean Griffin
2014-11-01
1
-1
/
+2
*
Don't require calculations to be aliased to a column
Sean Griffin
2014-10-31
1
-1
/
+1
*
No need to call to_sym here
Godfrey Chan
2014-09-20
1
-7
/
+7
*
Fix typo in comment
Cade Truitt
2014-07-02
1
-1
/
+1
*
Encapsulate knowledge of type objects on `ActiveRecord::Result`
Sean Griffin
2014-06-22
1
-10
/
+1
*
Don't use `Column` for type casting in Relation calculations
Sean Griffin
2014-06-18
1
-12
/
+8
*
[ci skip] add API doc for AR Group.
Aditya Kapoor
2014-06-17
1
-1
/
+9
*
Pluck should work with columns of the same name from different tables
Sean Griffin
2014-06-11
1
-3
/
+1
*
Rename `type_cast` to `type_cast_from_database`
Sean Griffin
2014-06-09
1
-2
/
+2
*
reuse available belongs_to? method
eileencodes
2014-06-03
1
-1
/
+1
*
Remove unused `initialize_attributes` method
Sean Griffin
2014-06-02
1
-1
/
+1
*
Merge pull request #15210 from arthurnn/fix_hbtm_reflection
Arthur Neves
2014-05-24
1
-1
/
+1
*
docs, explain usage of `count` + `select`. Closes #15065. [ci skip]
Yves Senn
2014-05-13
1
-0
/
+8
*
push up bind params on "simple" subquery calculations
Aaron Patterson
2014-05-02
1
-2
/
+4
*
Merge branch 'master' into adequaterecord
Aaron Patterson
2014-04-20
1
-1
/
+1
|
\
|
*
Make sure the column_name is different from 'all'.
Lauro Caetano
2014-04-14
1
-1
/
+1
*
|
Merge branch 'master' into adequaterecord
Aaron Patterson
2014-04-07
1
-1
/
+1
|
\
|
|
*
Ignore order when doing count.
Lauro Caetano
2014-04-07
1
-1
/
+1
*
|
adding bind values to the manager object
Aaron Patterson
2014-01-13
1
-1
/
+5
|
/
*
Mark the arguments needed by activerecord-deprecated_finders with a TODO
Rafael Mendonça França
2013-12-11
1
-0
/
+12
*
Revert "Merge pull request #12518 from vipulnsward/remove_count_options"
Rafael Mendonça França
2013-12-11
1
-12
/
+13
*
Fix type cast on group sum with custom expression
Paul Nikitochkin
2013-12-10
1
-1
/
+3
*
Stop accepting `options` for `Relation#average`, `Relation#minimum`, `Relatio...
Vipul A M
2013-10-14
1
-10
/
+10
*
`Relation#count` doesn't use options anymore.
Vipul A M
2013-10-13
1
-3
/
+2
*
Don't use Enumerable#next in pluck since it is very slow
Ryan Wallace
2013-08-30
1
-2
/
+1
*
re-introduce `select_for_count` private method.
Yves Senn
2013-07-14
1
-5
/
+10
*
no need to to_sym the column name, leave it as-is
Aaron Patterson
2013-07-02
1
-1
/
+1
*
avoid intermediate zipped array
Aaron Patterson
2013-07-01
1
-3
/
+2
*
make the identity type a singleton to save on object creation
Aaron Patterson
2013-07-01
1
-3
/
+1
*
only deal with strings internally
Aaron Patterson
2013-07-01
1
-3
/
+3
*
build an AST rather than slapping strings together
Aaron Patterson
2013-07-01
1
-11
/
+7
*
stop exposing the underlying alias datastructure
Aaron Patterson
2013-07-01
1
-4
/
+4
*
Remove deprecated `:distinct` option from `Relation#count`.
Yves Senn
2013-07-01
1
-5
/
+0
*
Simplify/fix implementation of default scopes
Jon Leighton
2013-06-28
1
-9
/
+3
*
Remove fall back and column restrictions for `count`.
Yves Senn
2013-06-09
1
-10
/
+6
*
Merge pull request #10561 from Empact/nix-throwresult
Jon Leighton
2013-06-07
1
-2
/
+0
|
\
|
*
Rather than raising ThrowResult when construct_limited_ids_conditions comes u...
Ben Woosley
2013-05-10
1
-4
/
+0
|
*
Fix that #pluck wasn't rescuing ThrowResult, meaning it would blow up when fa...
Ben Woosley
2013-05-10
1
-0
/
+2
*
|
Remove #sum with a block was deprecated.
kennyj
2013-06-01
1
-9
/
+1
|
/
*
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
[next]