Skip to content
Commits on Aug 28, 2008
  1. @tarmo @jeremy

    Alias included associations if needed when doing a count

    tarmo committed with jeremy Aug 26, 2008
    [#302 state:resolved]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Commits on Aug 26, 2008
  1. @josh
Commits on Aug 11, 2008
  1. @mpolakis @NZKoz

    Alias subquery used in calculations, to provide better compatibility …

    mpolakis committed with NZKoz Aug 11, 2008
    …with databases such as MonetDB
    
    Signed-off-by: Michael Koziarski <michael@koziarski.com>
    Signed-off-by: Tom Ward <tom@popdog.net>
    [#796 state:committed]
Commits on Jun 12, 2008
  1. @yukster @jeremy
Commits on Jun 2, 2008
  1. @lifo
  2. @lifo

    Ensure Associations#sum returns 0 when no rows are returned. [#295 st…

    Jonathan Viney committed with lifo Jun 2, 2008
    …ate:resolved]
    
    Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
Commits on May 25, 2008
  1. @lifo

    Merge docrails.

    lifo committed May 25, 2008
    Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
Commits on May 2, 2008
  1. @fxn @lifo

    Improve documentation coverage and markup

    fxn committed with lifo May 2, 2008
    Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
Commits on Apr 20, 2008
  1. @fcheung @NZKoz
Commits on Apr 8, 2008
  1. @technoweenie
Commits on Apr 4, 2008
  1. @NZKoz

    Don't double include DISTINCT when the user has already specified it.…

    NZKoz committed Apr 4, 2008
    … Closes #11502 [kenneth.kalmer]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9223 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Mar 17, 2008
  1. @dhh

    Ensure that you can still do expressions in calculations (closes #11355

    dhh committed Mar 17, 2008
    …) [nbugajski/cavelle]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9043 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Mar 13, 2008
  1. @technoweenie

    Ensure that ActiveRecord::Calculations disambiguates field names with…

    technoweenie committed Mar 13, 2008
    … the table name. Closes #11027 [cavalle]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9018 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Feb 2, 2008
  1. @jeremy

    Fix calculations on associations with custom :foreign_key. Closes #8117

    jeremy committed Feb 2, 2008
    … [kamal, jack]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8778 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Dec 27, 2007
  1. @jeremy

    Ruby 1.9 compat: calculations don't assume array implementation of or…

    jeremy committed Dec 27, 2007
    …dered hash. References #1689 [Frederick Cheung]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8494 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Dec 13, 2007
  1. Remove references to nonexistent :joins documentation. Closes #10498

    Marcel Molina committed Dec 13, 2007
    …[tpope]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8381 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Dec 5, 2007
  1. Document how the :include option can be used in Calculations::calcula…

    Marcel Molina committed Dec 5, 2007
    …te. Closes #7446 [adamwiggins, ultimoamore]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8306 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Nov 8, 2007
  1. Smattering of grammatical fixes to documentation. Closes #10083 [BobS…

    Marcel Molina committed Nov 8, 2007
    …ilva]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8113 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Nov 7, 2007
  1. @dhh

    Address shortcomings of changeset [8054] [protocool]

    dhh committed Nov 7, 2007
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8109 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Nov 6, 2007
  1. Standardize on using hyphens rather than colons to separate option na…

    Marcel Molina committed Nov 6, 2007
    …mes from their explanation in documentation. Replace + with tt tags. Closes #8732. [ryanb]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8106 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Oct 31, 2007
  1. @NZKoz

    Escape table names during calculation queries. [wesley.moxam, Koz] Cl…

    NZKoz committed Oct 31, 2007
    …oses #4593
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8061 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Oct 29, 2007
  1. @jeremy

    Introduce finder :joins with associations. Same :include syntax but w…

    jeremy committed Oct 29, 2007
    …ith inner rather than outer joins. Closes #10012.
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8054 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jul 17, 2007
  1. @technoweenie

    Fix and properly document/test count(column_name) usage. Closes #8999

    technoweenie committed Jul 17, 2007
    …[lifofifo]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7192 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jul 16, 2007
  1. @technoweenie

    Remove deprecated count(conditions=nil, joins=nil) usage. Closes #8993

    technoweenie committed Jul 16, 2007
    …[lifofifo]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7189 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jun 1, 2007
  1. @jeremy

    Calculations support non-numeric foreign keys. Closes #8154.

    jeremy committed Jun 1, 2007
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6919 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on May 30, 2007
  1. @jeremy

    Calculations: return nil average instead of 0 when there are no rows …

    jeremy committed May 30, 2007
    …to average. Closes #8298.
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6904 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Mar 27, 2007
  1. @technoweenie

    documentation project patches, closes #7342, #7319, #7316, #7190 [jer…

    technoweenie committed Mar 27, 2007
    …emymcanally]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6470 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Nov 5, 2006
  1. @jeremy

    SQLite: count(distinct) queries supported in >= 3.2.6, fix calculatio…

    jeremy committed Nov 5, 2006
    …ns workaround, remove count(distinct) query rewrite, cleanup test connection scripts. Closes #6544.
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5426 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Sep 29, 2006
  1. @jeremy

    Include caller of deprecated count method.

    jeremy committed Sep 29, 2006
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5204 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Sep 26, 2006
  1. @jeremy

    Deprecation: count class method should be called with an options hash…

    jeremy committed Sep 26, 2006
    … rather than two args for conditions and joins. Closes #6287.
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5192 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jun 3, 2006
  1. @dhh

    Fixed that count distinct should use the selected column even when us…

    dhh committed Jun 3, 2006
    …ing :include (closes #5251) [anna@wota.jp]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4417 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Apr 30, 2006
  1. @technoweenie

    Namespaced OrderedHash so the Rails implementation does not clash wit…

    technoweenie committed Apr 30, 2006
    …h any others. (fixes #4911) [Julian Tarkhanov]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4318 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Apr 28, 2006
  1. When grouping, use the appropriate option key. [Marcel Molina Jr.]

    Marcel Molina committed Apr 28, 2006
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4297 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Apr 27, 2006
  1. Add support for FrontBase (http://www.frontbase.com/) with a new adap…

    Marcel Molina committed Apr 27, 2006
    …ter thanks to the hard work of one Mike Laster. Closes #4093. [mlaster@metavillage.com]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4291 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Apr 25, 2006
  1. @technoweenie
Something went wrong with that request. Please try again.