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
*
Bring back test and changelog entry from #pluck method and select clause
Carlos Antonio da Silva
2013-03-18
1
-0
/
+6
*
Revert "Merge pull request #8209 from senny/backport_8176"
Aaron Patterson
2013-03-05
1
-6
/
+0
*
Merge pull request #9078 from senny/6865_ar_count_with_uniq
Rafael Mendonça França
2013-02-02
1
-0
/
+4
*
Fix pluck when columns/tables are reserved words.
Ian Lesperance
2013-01-23
1
-2
/
+9
*
Remove warning of unused variable
Rafael Mendonça França
2012-12-10
1
-1
/
+1
*
Merge pull request #4942 from bogdan/pluck_joins
José Valim
2012-12-03
1
-0
/
+10
*
backport #8176, `#pluck` can be used on a relation with `select` clause.
Yves Senn
2012-11-13
1
-0
/
+6
*
Ensure Arel columns are typecasted properly when grouping with calculation
Carlos Antonio da Silva
2012-06-25
1
-2
/
+6
*
Merge pull request #6842 from ernie/handle-non-strings-in-grouped-calculations
Rafael Mendonça França
2012-06-24
1
-0
/
+5
*
Make ActiveRecord::Relation#pluck work with serialized attributes
Jon Leighton
2011-12-22
1
-1
/
+8
*
ActiveRecord::Relation#pluck method
Bogdan Gusiev
2011-11-30
1
-0
/
+25
*
pg does not allow aliases in the having clause, but functions are fine
Aaron Patterson
2011-08-05
1
-1
/
+1
*
Fixed failing query when performing calculation with having based on select.
Dmitriy Kiriyenko
2011-07-27
1
-0
/
+7
*
Fixed AR::Relation#sum compatibility with Array#sum
Bogdan Gusiev
2011-07-05
1
-0
/
+4
*
please use ruby -I lib:test path/to/test.rb, or export RUBY_OPT
Aaron Patterson
2011-06-06
1
-1
/
+1
*
Refactor Active Record test connection setup. Please see the RUNNING_UNIT_TES...
Jon Leighton
2011-06-04
1
-1
/
+1
*
Bug fixes:
Fadzril Muhamad & Joseph Palermo
2011-05-12
1
-0
/
+11
*
Merge branch 'master' into zomg
Aaron Patterson
2011-03-29
1
-2
/
+2
|
\
|
*
Added new #update_column method.
Sebastian Martinez
2011-03-27
1
-2
/
+2
|
*
Revert "Removed #update_attribute method. New #update_column method."
Sebastian Martinez
2011-03-27
1
-2
/
+2
|
*
Removed #update_attribute method. New #update_column method.
Sebastian Martinez
2011-03-26
1
-2
/
+2
*
|
Change behavior of count(:limit => x, :offset => y) to limit/offset before co...
John Mileham
2011-03-03
1
-11
/
+26
|
/
*
skip this on oracle
Aaron Patterson
2011-02-28
1
-0
/
+2
*
removing limits and offsets from COUNT queries unless both are specified. [#6...
Aaron Patterson
2011-02-25
1
-0
/
+28
*
The type_cast_calculated_value method will trust DB types before casting to a...
Ken Collins
2011-02-03
1
-0
/
+6
*
Always return decimal average of integer fields
Raimonds Simanovskis
2011-01-10
1
-0
/
+5
*
Fix ActiveRecord calculations when grouped by multiple fields
Alexandru Catighera
2010-11-16
1
-0
/
+13
*
Honor distinct option when used with count operation after group clause [#572...
Marcelo Giorgi
2010-10-11
1
-0
/
+9
*
group clause must be more specific
Aaron Patterson
2010-09-30
1
-1
/
+1
*
Tests proving #5441
oleg dashevskii
2010-09-30
1
-1
/
+11
*
update tests for mysql2 support
Brian Lopez
2010-08-02
1
-1
/
+1
*
Add tests for relation count. Fix other tests that were conceptually wrong.
Emilio Tagua
2010-06-24
1
-1
/
+1
*
Refactor calculation test to remove unneeded SQLite special case.
Santiago Pastorino
2010-05-24
1
-4
/
+1
*
type_cast_calculated_value refactor: value is never a Fixnum here. Fix test s...
Santiago Pastorino
2010-05-11
1
-2
/
+1
*
Fix associations to call :destroy or :delete based on the right :dependent op...
Carlos Antonio da Silva
2010-03-09
1
-2
/
+2
*
future proofing the sqlite3 adapter code
Aaron Patterson
2010-01-26
1
-0
/
+3
*
Add Relation#construct_relation_for_association_calculations for calculations...
Pratik Naik
2010-01-19
1
-17
/
+0
*
Migrate all the calculation methods to Relation
Pratik Naik
2009-12-29
1
-10
/
+8
*
Don't publicize with_scope for tests since it may shadow public misuse
Jeremy Kemper
2009-12-28
1
-1
/
+1
*
Merge commit 'rails/master'
Emilio Tagua
2009-08-10
1
-0
/
+6
|
\
|
*
Adding :from scoping to ActiveRecord calculations
Matt Duncan
2009-08-09
1
-0
/
+6
*
|
Merge commit 'rails/master'
Emilio Tagua
2009-08-08
1
-1
/
+6
|
\
|
|
*
Oracle adapter returns numeric (not string) value after SUM
Raimonds Simanovskis
2009-08-06
1
-1
/
+6
*
|
Merge commit 'rails/master'
Emilio Tagua
2009-06-30
1
-2
/
+2
|
\
|
|
*
Revert "Revert "Generate proper :counter_sql from :finder_sql when there is a...
Pratik Naik
2009-07-01
1
-2
/
+2
|
*
Revert "Generate proper :counter_sql from :finder_sql when there is a newline...
Yehuda Katz + Carl Lerche
2009-06-22
1
-2
/
+2
|
*
Generate proper :counter_sql from :finder_sql when there is a newline charact...
Patrick Joyce
2009-06-21
1
-2
/
+2
*
|
Merge commit 'rails/master'
Emilio Tagua
2009-04-29
1
-1
/
+1
|
\
|
|
*
Fix duplicated test name
Emilio Tagua
2009-04-29
1
-1
/
+1
*
|
Calculations now use Arel to construct the query.
Emilio Tagua
2009-04-29
1
-1
/
+1
|
/
[next]