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
*
Merge pull request #29848 from kamipo/fix_distinct_count_with_order_and_limit
Rafael França
2017-07-24
1
-10
/
+19
|
\
|
*
Should keep the table name qualified `*` for distinct subquery
Ryuta Kamizono
2017-07-22
1
-1
/
+1
|
*
Fix `COUNT(DISTINCT ...)` with `ORDER BY` and `LIMIT`
Ryuta Kamizono
2017-07-22
1
-10
/
+19
*
|
Refactor Active Record to let Arel manage bind params
Sean Griffin
2017-07-24
1
-3
/
+3
|
/
*
Use frozen-string-literal in ActiveRecord
Kir Shatrov
2017-07-19
1
-0
/
+2
*
Skip query cache for in_batches and friends
Eugene Kenny
2017-07-06
1
-3
/
+3
*
Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"
Matthew Draper
2017-07-02
1
-1
/
+0
*
Enforce frozen string in Rubocop
Kir Shatrov
2017-07-01
1
-0
/
+1
*
Fix the next version of Rails from 5.3 to 6.0
Ryuta Kamizono
2017-06-29
1
-2
/
+2
*
Remove delegating to arel in a relation
Ryuta Kamizono
2017-06-29
1
-1
/
+1
*
Deprecate passing arguments and block at the same time to `count` and `sum` i...
Ryuta Kamizono
2017-05-29
1
-2
/
+20
*
Don't pass `arel.engine` to `Arel::SelectManager.new`
Ryuta Kamizono
2017-05-05
1
-2
/
+1
*
Simply forward `Calculations#count` to `Enumerable#count`
Ryuta Kamizono
2017-03-10
1
-7
/
+4
*
Include selects in group query with having clause
Eugene Kenny
2017-02-26
1
-0
/
+1
*
Remove useless `select_values += select_values`
Ryuta Kamizono
2017-02-26
1
-1
/
+0
*
Suppress `DISTINCT` clause outside aggregate function
Ryuta Kamizono
2017-02-25
1
-2
/
+2
*
Revert "Remove useless `column_alias` in `subquery_for_count`"
Ryuta Kamizono
2017-02-07
1
-2
/
+3
*
Remove useless `column_alias` in `subquery_for_count`
Ryuta Kamizono
2017-02-06
1
-3
/
+2
*
`self.` is not needed when calling its own instance method
Akira Matsuda
2017-01-05
1
-1
/
+1
*
Avoid `unscope(:order)` when `limit_value` is presented for `count`
Ryuta Kamizono
2016-11-06
1
-6
/
+6
*
Use attribute_names over column_names
Keenan Brock
2016-10-04
1
-6
/
+2
*
Merge pull request #26446 from kamipo/rename_type_var_name_to_type
Eileen M. Uchitelle
2016-09-17
1
-10
/
+8
|
\
|
*
Rename variable name that returning `type_for` to `type` from `column`
Ryuta Kamizono
2016-09-11
1
-10
/
+8
*
|
Fix broken comments indentation caused by rubocop auto-correct [ci skip]
Ryuta Kamizono
2016-09-14
1
-7
/
+7
|
/
*
Add `Type.default_value` and use it everywhere for internal
Ryuta Kamizono
2016-08-26
1
-1
/
+1
*
Merge pull request #25976 from kamipo/pluck_uses_loaded_target
Rafael França
2016-08-17
1
-1
/
+1
|
\
|
*
`pluck` should use `records` (`load_target`) when `loaded?` is true
Ryuta Kamizono
2016-08-04
1
-1
/
+1
*
|
Fix count which would sometimes force a DISTINCT
Maxime Lapointe
2016-08-16
1
-6
/
+4
*
|
applies remaining conventions across the project
Xavier Noria
2016-08-06
1
-3
/
+3
*
|
normalizes indentation and whitespace across the project
Xavier Noria
2016-08-06
1
-148
/
+148
*
|
applies new string literal convention in activerecord/lib
Xavier Noria
2016-08-06
1
-14
/
+14
|
/
*
Always prefer class types to query types when casting `group`
Sean Griffin
2016-07-11
1
-4
/
+6
*
Support for unified Integer class in Ruby 2.4+
Jeremy Daer
2016-05-18
1
-1
/
+1
*
Forward ActiveRecord::Relation#count to Enumerable#count if block given
Erik Michaels-Ober
2016-03-19
1
-1
/
+5
*
Extract a Relation#arel_attribute
Matthew Draper
2016-02-04
1
-1
/
+1
*
Defer Arel attribute lookup to the model class
Matthew Draper
2016-02-04
1
-10
/
+2
*
Refactor Calculations#execute_grouped_calculation and clean AR test case
Rafael Sales
2015-10-22
1
-10
/
+4
*
Fix generated projection fields in group by query
Rafael Sales
2015-10-22
1
-1
/
+2
*
Merge pull request #20653 from repinel/allow-arel-select-count
Sean Griffin
2015-10-20
1
-1
/
+3
|
\
|
*
Allow select with Arel and count as well as calculations with Arel
Roque Pinel
2015-06-30
1
-1
/
+3
*
|
Qualify column names in calculation
Soutaro Matsumoto
2015-10-20
1
-1
/
+1
*
|
applies new doc guidelines to Active Record.
Yves Senn
2015-10-14
1
-15
/
+16
*
|
docs, fix highlighting for code examples in calculations.rb [ci skip]
Yves Senn
2015-10-13
1
-20
/
+20
*
|
`column_alias_for` method is no more supporting *keys [ci skip]
amitkumarsuroliya
2015-09-26
1
-1
/
+0
*
|
remove warning from Calculations#sum
yuuji.yaginuma
2015-09-23
1
-1
/
+1
*
|
Fix arguments of `AR::Calculations#sum`
yui-knk
2015-09-23
1
-3
/
+3
*
|
[skip ci] #distinct instead of #uniq
Jon Atack
2015-07-03
1
-2
/
+3
|
/
*
Update .pluck documentation on uniq
Prem Sichanugrist
2015-06-26
1
-1
/
+1
*
Include `Enumerable` in `ActiveRecord::Relation`
Sean Griffin
2015-06-19
1
-6
/
+3
*
Use `Enumerable#sum` on `ActiveRecord::Relation` when a block is given
Sean Griffin
2015-06-19
1
-2
/
+6
[next]