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
*
Using map. No need to run query again
Arun Agrawal
2013-05-10
1
-1
/
+1
*
Fixed pluck to be working with selects.
Arun Agrawal
2013-05-10
1
-1
/
+4
*
Remove useless else
Arun Agrawal
2013-05-10
1
-3
/
+0
*
Revert "Merge pull request #8209 from senny/backport_8176"
Rafael Mendonça França
2013-05-08
1
-3
/
+2
*
Merge pull request #9078 from senny/6865_ar_count_with_uniq
Rafael Mendonça França
2013-02-02
1
-1
/
+2
*
Fix pluck when columns/tables are reserved words.
Ian Lesperance
2013-01-23
1
-1
/
+1
*
Revert "Merge pull request #7983 from georgebrock/bug7950-squashed"
Carlos Antonio da Silva
2013-01-15
1
-4
/
+3
*
Merge pull request #4942 from bogdan/pluck_joins
José Valim
2012-12-03
1
-1
/
+6
*
Merge pull request #7983 from georgebrock/bug7950-squashed
Carlos Antonio da Silva
2012-11-16
1
-3
/
+4
|
\
|
*
use bind values for join columns
Aaron Patterson
2012-11-10
1
-3
/
+4
*
|
backport #8176, `#pluck` can be used on a relation with `select` clause.
Yves Senn
2012-11-13
1
-1
/
+3
|
/
*
Ensure Arel columns are typecasted properly when grouping with calculation
Carlos Antonio da Silva
2012-06-25
1
-3
/
+3
*
Merge pull request #6842 from ernie/handle-non-strings-in-grouped-calculations
Rafael Mendonça França
2012-06-24
1
-6
/
+17
*
Make ActiveRecord::Relation#pluck work with serialized attributes
Jon Leighton
2011-12-22
1
-4
/
+4
*
ActiveRecord::Relation#pluck method
Bogdan Gusiev
2011-11-30
1
-0
/
+17
*
Make it the responsibility of the connection to hold onto an ARel visitor for...
Jon Leighton
2011-08-08
1
-2
/
+2
*
Fixed failing query when performing calculation with having based on select.
Dmitriy Kiriyenko
2011-07-27
1
-0
/
+1
*
Fixed AR::Relation#sum compatibility with Array#sum
Bogdan Gusiev
2011-07-05
1
-2
/
+6
*
Apply the default scope earlier when doing calculations. Fixes #1682.
Jon Leighton
2011-06-23
1
-5
/
+11
*
Ensure that calculations properly override the select value even if it's set ...
Jon Leighton
2011-05-31
1
-2
/
+2
*
Remove extra white spaces on ActiveRecord docs.
Sebastian Martinez
2011-05-23
1
-4
/
+4
*
Bug fixes:
Fadzril Muhamad & Joseph Palermo
2011-05-12
1
-5
/
+4
*
Ensure that ORDER BY clauses from default scopes are not included in calculat...
Jon Leighton
2011-05-08
1
-1
/
+1
*
Use Arel to build subquery. Adapt tests to changed fixtures.
John Mileham
2011-03-24
1
-13
/
+12
*
Change behavior of count(:limit => x, :offset => y) to limit/offset before co...
John Mileham
2011-03-03
1
-14
/
+26
*
removing limits and offsets from COUNT queries unless both are specified. [#6...
Aaron Patterson
2011-02-25
1
-1
/
+13
*
The type_cast_calculated_value method will trust DB types before casting to a...
Ken Collins
2011-02-03
1
-1
/
+1
*
Always return decimal average of integer fields
Raimonds Simanovskis
2011-01-10
1
-9
/
+5
*
ActiveRecord::Relation#primary_key should return a string, just like ActiveRe...
Jon Leighton
2011-01-03
1
-1
/
+1
*
Rename AssociationReflection#primary_key_name to foreign_key, since the optio...
Jon Leighton
2010-12-31
1
-1
/
+1
*
just grep the AST for OuterJoin nodes rather than converting the tree to SQL
Aaron Patterson
2010-11-30
1
-1
/
+1
*
reduce method calls on arel
Aaron Patterson
2010-11-30
1
-1
/
+1
*
refactor to reduce method calls
Aaron Patterson
2010-11-16
1
-10
/
+19
*
Fix ActiveRecord calculations when grouped by multiple fields
Alexandru Catighera
2010-11-16
1
-14
/
+18
*
we should always cast the value based on the column
Aaron Patterson
2010-10-11
1
-1
/
+1
*
Honor distinct option when used with count operation after group clause [#572...
Marcelo Giorgi
2010-10-11
1
-4
/
+8
*
[#5441 state:resolved] refactoring code to determine aggregate column
Aaron Patterson
2010-09-30
1
-11
/
+14
*
refactoring to remove crazy logic
Aaron Patterson
2010-09-28
1
-1
/
+5
*
fisting the postgresql tests
Aaron Patterson
2010-09-28
1
-1
/
+2
*
avoid calling to_sql when we can
Aaron Patterson
2010-09-28
1
-3
/
+3
*
removing an inject + merge in favor of Hash#[]
Aaron Patterson
2010-09-28
1
-1
/
+1
*
Goodbye inject, hello map.
Emilio Tagua
2010-09-22
1
-7
/
+5
*
return is not needed here
Neeraj Singh
2010-09-09
1
-2
/
+2
*
remove unnecessary call
Neeraj Singh
2010-09-09
1
-1
/
+0
*
attributes should be constructed with table objects
Aaron Patterson
2010-09-07
1
-1
/
+1
*
attributes should be associated with tables
Aaron Patterson
2010-09-07
1
-1
/
+1
*
Use new finders syntax in docs.
Emilio Tagua
2010-09-01
1
-2
/
+2
*
minor formatting fixes
Neeraj Singh
2010-08-25
1
-8
/
+6
*
refactoring to remove duplicate logic
Aaron Patterson
2010-08-18
1
-4
/
+3
*
call to present? is not necessary
Aaron Patterson
2010-08-18
1
-2
/
+1
[next]