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
*
Allow blocks for count with ActiveRecord::Relation. Document and test that su...
chrisfinne
2012-05-28
1
-0
/
+16
*
MySQL returns "SUM(DISTINCT(credit_limit))" as the column name unless
Aaron Patterson
2012-05-16
1
-1
/
+5
*
Fixes issue where SQL fragments prevented type casting based on column type.
Erich Menge
2012-05-16
1
-0
/
+3
*
Restore support for Model.pluck('sql fragment')
Jeremy Kemper
2012-05-15
1
-0
/
+8
*
Fix PR #6091
Andrew White
2012-04-30
1
-1
/
+1
*
Add ActiveRecord::Base#ids
twinturbo
2012-04-30
1
-0
/
+4
*
remove deprecate #calculate calls
Jon Leighton
2012-04-26
1
-76
/
+59
*
remove tests for #with_scope (it's now deprecated)
Jon Leighton
2012-04-25
1
-6
/
+0
*
fix tests
Jon Leighton
2012-04-13
1
-5
/
+5
*
typecast columns based on the returned types
Aaron Patterson
2012-02-09
1
-6
/
+1
*
PostgreSQL does not work in the same way of the other adapters
Rafael Mendonça França
2012-02-08
1
-3
/
+7
*
AR::Relation#pluck: improve to work with joins
Bogdan Gusiev
2012-02-08
1
-0
/
+11
*
Deprecate inferred JOINs with includes + SQL snippets.
Jon Leighton
2012-01-16
1
-3
/
+3
*
Revert "Deprecate implicit eager loading. Closes #950."
Jon Leighton
2012-01-16
1
-6
/
+4
*
Deprecate implicit eager loading. Closes #950.
Jon Leighton
2011-12-29
1
-4
/
+6
*
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
|
\
|
[next]