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
*
`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
*
Allow Enumerable#pluck to take a splat.
Kevin Deisz
2015-05-29
1
-0
/
+4
*
Enhance documentation of pluck with a hint to ids [ci skip]
wingfire
2015-04-12
1
-3
/
+5
*
Drop `references_eager_loaded_tables?` test from `has_include?`
Ben Woosley
2015-03-17
1
-1
/
+1
*
Spell PostgreSQL correctly :elephant:
Akira Matsuda
2015-02-28
1
-1
/
+1
*
`Type#type_cast_from_database` -> `Type#deserialize`
Sean Griffin
2015-02-17
1
-2
/
+2
*
Attribute assignment and type casting has nothing to do with columns
Sean Griffin
2015-01-31
1
-1
/
+1
*
Don't error when grouped calculations return 0 records
Sean Griffin
2015-01-28
1
-1
/
+1
*
Remove Relation#bind_params
Sean Griffin
2015-01-27
1
-3
/
+3
*
Unify access to bind values on Relation
Sean Griffin
2015-01-27
1
-9
/
+3
*
Change `having_values` to use the `WhereClause` class
Sean Griffin
2015-01-26
1
-1
/
+1
*
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
[next]