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
*
Fix GROUP BY with calculate longer name field to respect `table_alias_length`
Ryuta Kamizono
2019-04-08
1
-5
/
+6
*
Don't repeat same expression in SELECT and GROUP BY clauses
Ryuta Kamizono
2019-04-06
1
-26
/
+20
*
Fix `count(:all)` with eager loading and explicit select and order
Ryuta Kamizono
2019-04-04
1
-4
/
+5
*
Optimizer hints should be applied on Top level query as much as possible
Ryuta Kamizono
2019-04-04
1
-3
/
+4
*
fixes different `count` calculation when using `size` manual `select` with DI...
jvillarejo
2019-02-26
1
-3
/
+8
*
Fix `pluck` and `select` with custom attributes
Ryuta Kamizono
2019-02-13
1
-4
/
+2
*
Do not allow passing the column name to `sum` when a block is passed
Rafael Mendonça França
2019-01-17
1
-6
/
+4
*
Do not allow passing the column name to `count` when a block is passed
Rafael Mendonça França
2019-01-17
1
-6
/
+4
*
Make average compatible accross Ruby versions
Alberto Almagro
2019-01-04
1
-1
/
+1
*
Fix TypeError: no implicit conversion of Arel::Attributes::Attribute into Str...
Ryuta Kamizono
2019-01-02
1
-1
/
+1
*
Permit list usage cleanup and clearer documentation
Kevin Deisz
2018-08-27
1
-1
/
+1
*
Convert over the rest of the whitelist references
Kevin Deisz
2018-08-24
1
-1
/
+1
*
Fix TypeError: no implicit conversion of Arel::Attributes::Attribute into String
Bart de Water
2018-07-28
1
-1
/
+1
*
Enable Start/EndWith and RegexpMatch cops
Bart de Water
2018-07-28
1
-1
/
+1
*
Distinct with order #count regression
Max Schwenk
2018-02-25
1
-1
/
+1
*
Fix formatting of `pick` [ci skip]
yuuji.yaginuma
2018-02-10
1
-1
/
+1
*
Add Relation#pick as short-hand for single-value plucks (#31941)
David Heinemeier Hansson
2018-02-09
1
-0
/
+18
*
Avoid extra calls to to_s
Daniel Colson
2018-01-29
1
-1
/
+1
*
Fix `count(:all)` with eager loading and having an order other than the drivi...
Ryuta Kamizono
2018-01-25
1
-1
/
+8
*
Fix `count(:all)` to correctly work `distinct` with custom SELECT list
Ryuta Kamizono
2017-12-20
1
-10
/
+8
*
try using regexes
Ben Toews
2017-11-09
1
-9
/
+3
*
allow table name and direction in string order arg
Ben Toews
2017-11-09
1
-23
/
+8
*
allow Arel.sql() for pluck
Ben Toews
2017-11-09
1
-6
/
+14
*
add config to check arguments to unsafe AR methods
Ben Toews
2017-11-09
1
-14
/
+28
*
Ensure `apply_join_dependency` for `collection_cache_key` if eager-loading is...
Ryuta Kamizono
2017-11-06
1
-2
/
+2
*
Fix `COUNT(DISTINCT ...)` for `GROUP BY` with `ORDER BY` and `LIMIT`
Ryuta Kamizono
2017-10-14
1
-1
/
+1
*
Remove meaningless named `construct_relation_for_association_calculations`
Ryuta Kamizono
2017-10-09
1
-2
/
+3
*
Ensure `1 AS one` for SQL Server with calculations.
Ken Collins
2017-09-22
1
-1
/
+1
*
Ensure sum honors distinct on has_many through
Aaron Wortham
2017-08-14
1
-0
/
+3
*
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
[next]