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
/
test
/
cases
/
calculations_test.rb
Commit message (
Expand
)
Author
Age
Files
Lines
...
*
|
Suppress `DISTINCT` clause outside aggregate function
Ryuta Kamizono
2017-02-25
1
-0
/
+11
*
|
Revert "Remove useless `column_alias` in `subquery_for_count`"
Ryuta Kamizono
2017-02-07
1
-1
/
+0
*
|
Remove useless `column_alias` in `subquery_for_count`
Ryuta Kamizono
2017-02-06
1
-2
/
+3
*
|
Require "models/post" before "models/comment"
Yasuo Honda
2017-01-04
1
-1
/
+1
*
|
Remove deprecated `#uniq`, `#uniq!`, and `#uniq_value`
Ryuta Kamizono
2016-12-30
1
-4
/
+0
*
|
Add more rubocop rules about whitespaces
Rafael Mendonça França
2016-10-29
1
-6
/
+6
|
/
*
improve error message when include assertions fail
Michael Grosser
2016-09-16
1
-4
/
+4
*
Add three new rubocop rules
Rafael Mendonça França
2016-08-16
1
-2
/
+2
*
modernizes hash syntax in activerecord
Xavier Noria
2016-08-06
1
-18
/
+18
*
applies new string literal convention in activerecord/test
Xavier Noria
2016-08-06
1
-88
/
+88
*
Fix Active Record test failure
Ryuta Kamizono
2016-07-12
1
-3
/
+2
*
Always prefer class types to query types when casting `group`
Sean Griffin
2016-07-11
1
-0
/
+6
*
Forward ActiveRecord::Relation#count to Enumerable#count if block given
Erik Michaels-Ober
2016-03-19
1
-0
/
+4
*
remove args from assert_nothing_raised in tests
Tara Scherner de la Fuente
2016-02-22
1
-2
/
+2
*
Remove legacy mysql adapter
Ryuta Kamizono
2015-12-21
1
-2
/
+2
*
Remove legacy mysql adapter
Abdelkader Boudih
2015-12-17
1
-1
/
+1
*
Fix generated projection fields in group by query
Rafael Sales
2015-10-22
1
-0
/
+5
*
Merge pull request #20653 from repinel/allow-arel-select-count
Sean Griffin
2015-10-20
1
-0
/
+52
|
\
|
*
Allow select with Arel and count as well as calculations with Arel
Roque Pinel
2015-06-30
1
-0
/
+52
*
|
Qualify column names in calculation
Soutaro Matsumoto
2015-10-20
1
-0
/
+19
*
|
Fix AC::Parameters not being sanitized for query methods.
Guo Xiang Tan
2015-10-02
1
-0
/
+32
|
/
*
Use `Enumerable#sum` on `ActiveRecord::Relation` when a block is given
Sean Griffin
2015-06-19
1
-0
/
+10
*
Fix postgresql DISTINCT requirement in pluck test
Kevin Deisz
2015-06-02
1
-2
/
+2
*
Allow Enumerable#pluck to take a splat.
Kevin Deisz
2015-05-29
1
-0
/
+21
*
deprecate `Relation#uniq` use `Relation#distinct` instead.
Yves Senn
2015-05-26
1
-3
/
+6
*
Fix referencing wrong aliases while joining tables of has many through
pinglamb
2015-03-22
1
-0
/
+11
*
Allow a symbol to be passed to `attribute`, in place of a type object
Sean Griffin
2015-02-06
1
-3
/
+3
*
Don't error when grouped calculations return 0 records
Sean Griffin
2015-01-28
1
-0
/
+5
*
Add test case for joined pluck
Sean Griffin
2014-12-11
1
-0
/
+7
*
Improve the test case introduced by bd0d47e
Sean Griffin
2014-12-11
1
-19
/
+10
*
Fix ProtocolViolation/bind message supplies for polymorphic + pluck or group
Miklos Fazkeas
2014-12-11
1
-0
/
+24
*
Don't require calculations to be aliased to a column
Sean Griffin
2014-10-31
1
-1
/
+0
*
Move association definition to the model file
Akira Matsuda
2014-08-28
1
-2
/
+0
*
Be sure that test fixtures satisfy referential integrity before calculating
Akira Matsuda
2014-08-28
1
-1
/
+1
*
Don't use `Column` for type casting in Relation calculations
Sean Griffin
2014-06-18
1
-5
/
+0
*
Pluck should work with columns of the same name from different tables
Sean Griffin
2014-06-11
1
-0
/
+7
*
Rename `property` to `attribute`
Sean Griffin
2014-06-07
1
-3
/
+3
*
Deprecate decimal columns being automatically treated as integers
Sean Griffin
2014-05-27
1
-0
/
+4
*
Ignore order when doing count.
Lauro Caetano
2014-04-07
1
-0
/
+14
*
Ensure AR #second, #third, etc. finders work through associations
Jason Meller
2014-01-21
1
-2
/
+2
*
Ensure #second acts like #first AR finder
Jason Meller
2014-01-20
1
-8
/
+10
*
Fix type cast on group sum with custom expression
Paul Nikitochkin
2013-12-10
1
-0
/
+4
*
Change test_registering_new_handlers and test_count_on_invalid_columns_raises
Yasuo Honda
2013-08-02
1
-1
/
+1
*
Remove deprecated `:distinct` option from `Relation#count`.
Yves Senn
2013-07-01
1
-10
/
+0
*
Remove fall back and column restrictions for `count`.
Yves Senn
2013-06-09
1
-0
/
+9
*
Merge pull request #10561 from Empact/nix-throwresult
Jon Leighton
2013-06-07
1
-0
/
+11
|
\
|
*
Add coverage for the fact that pluck without an argument returns all the tabl...
Ben Woosley
2013-05-10
1
-0
/
+5
|
*
Fix that #pluck wasn't rescuing ThrowResult, meaning it would blow up when fa...
Ben Woosley
2013-05-10
1
-0
/
+6
*
|
Remove #sum with a block was deprecated.
kennyj
2013-06-01
1
-6
/
+0
|
/
*
Handle aliased attributes in ActiveRecord::Relation.
Godfrey Chan
2013-05-01
1
-0
/
+12
[prev]
[next]