Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jun 2, 2008
  1. @lifo
  2. @lifo

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

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

    Merge docrails.

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

    Improve documentation coverage and markup

    fxn authored lifo committed
    Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
Commits on Apr 20, 2008
  1. @fcheung @NZKoz

    Avoid adding two DISTINCT statements to queries in sqlite 2.

    fcheung authored NZKoz committed
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 authored
    … 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 authored
    …) [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 authored
    … 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 authored
    … [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 authored
    …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 authored
    …[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 authored
    …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 authored
    …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 authored
    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 authored
    …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
Commits on Oct 29, 2007
  1. @jeremy

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

    jeremy authored
    …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 authored
    …[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 authored
    …[lifofifo]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7189 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jun 1, 2007
  1. @jeremy
Commits on May 30, 2007
  1. @jeremy

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

    jeremy authored
    …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 authored
    …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 authored
    …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 authored
    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 authored
    … 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 authored
    …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 authored
    …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 authored
    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 authored
    …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
  2. @technoweenie
Commits on Apr 19, 2006
  1. @technoweenie

    Fix the HasManyAssociation#count method so it uses the new ActiveReco…

    technoweenie authored
    …rd::Base#count syntax, while maintaining backwards compatibility. [Rick]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4237 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Apr 14, 2006
  1. @technoweenie

    Modify ActiveRecord::Base.count so it shares the same signature as #c…

    technoweenie authored
    …alculate, but maintains backwards compatibility.
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4211 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Apr 6, 2006
  1. @technoweenie
Something went wrong with that request. Please try again.