Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Feb 15, 2013
  1. @vijaydev

    copy edits [ci skip]

    vijaydev authored
Commits on Feb 7, 2013
  1. @mdesantis
Commits on Jan 26, 2013
  1. @senny
Commits on Jan 18, 2013
  1. @guilleiguaran

    Revert "Merge pull request #8989 from robertomiranda/use-rails-4-find…

    guilleiguaran authored
    …-by"
    
    This reverts commit 637a7d9, reversing
    changes made to 5937bd0.
  2. @robertomiranda

    User Rails 4 find_by

    robertomiranda authored
Commits on Jan 6, 2013
  1. @amatsuda

    These are already required through AS/rails

    amatsuda authored
    * dependencies/autoload
    * concern
    * deprecation
Commits on Dec 30, 2012
  1. @arunagw
Commits on Dec 29, 2012
  1. @tenderlove
  2. @tenderlove
  3. @tenderlove

    fix PG typecasting errors

    tenderlove authored
Commits on Dec 1, 2012
  1. @alvaropereyra
  2. @vijaydev

    copy edits [ci skip]

    vijaydev authored
  3. Fix Calculations#pluck doc to mention several attributes can be selec…

    Florent Guilleux authored
    …ted [ci skip]
Commits on Nov 22, 2012
  1. @carlosantoniodasilva

    Deprecate Relation#sum with a block.

    carlosantoniodasilva authored
    To perform a sum calculation over the array of elements, use to_a.sum(&block).
    
    Please check the discussion in f9cb645
    for more context.
  2. @carlosantoniodasilva

    Revert "Yield only one argument instead of splatting."

    carlosantoniodasilva authored
    This reverts commit f9cb645.
    
    Conflicts:
    	activerecord/CHANGELOG.md
    
    Revert "Allow blocks for count with ActiveRecord::Relation. Document and test that sum allows blocks"
    
    This reverts commit 9cc2bf6.
    
    Conflicts:
    	activerecord/lib/active_record/relation/calculations.rb
Commits on Nov 18, 2012
  1. @carlosantoniodasilva
Commits on Nov 16, 2012
  1. @vijaydev

    Merge branch 'master' of github.com:lifo/docrails

    vijaydev authored
    Conflicts:
    	actionpack/lib/action_dispatch/routing/redirection.rb
Commits on Nov 15, 2012
  1. @tenderlove
  2. @tenderlove
  3. @tenderlove
  4. @tenderlove
Commits on Nov 12, 2012
  1. @senny

    `#pluck` can be used on a relation with `select` clause.

    senny authored senny committed
    Closes #7551
Commits on Nov 10, 2012
  1. @AvnerCohen

    1.9 Syntax related changes

    AvnerCohen authored
Commits on Oct 17, 2012
  1. @tenderlove
Commits on Oct 15, 2012
  1. @refractalize
Commits on Sep 5, 2012
  1. @elliterate
Commits on Aug 2, 2012
  1. @fxn
Commits on Jun 25, 2012
  1. @carlosantoniodasilva

    Ensure Arel columns are typecasted properly when grouping with calcul…

    carlosantoniodasilva authored
    …ation
    
    Fix build issue with postgresql.
Commits on Jun 24, 2012
  1. @ernie

    Stop assuming strings for grouped calculations

    ernie authored
    Execute_grouped_calculation is one of those places where
    ActiveRecord forgets that it has ARel underpinnings, and
    assumes that the values provided to group_values are
    strings. This artificially hobbles otherwise functional
    code. This patch stops assuming that incoming values
    respond to to_sym, stops using string interpolation for
    table aliases on objects that support aliasing, and stops
    unnecessarily joining group_values on the relation.
    
    Additionally, it calls to_sql, if available, on objects
    sent to column_alias_for, in order to get a more reasonable
    alias string than a non-string's default to_str method.
Commits on Jun 22, 2012
  1. @carlosantoniodasilva
  2. @carlosantoniodasilva

    Refactor pluck with multiple columns

    carlosantoniodasilva authored
    Ensure it works with mix of symbols and strings, and with a select
    clause possibly containing more than one column.
    
    Also remove support for pluck with an array of columns, in favor of
    passing the list of attributes:
    
        Model.pluck(:a, :b)
    
    See comments: #6500 (comment)
  3. @carlosantoniodasilva

    ActiveRecord#pluck now accepts multiple columns

    jeroeningen authored carlosantoniodasilva committed
Commits on Jun 20, 2012
  1. @rafaelfranca

    Extract conditional to a method to avoid duplication

    rafaelfranca authored
    Also use if/else block to not use short circuit return
Commits on Jun 19, 2012
  1. @aderyabin @rafaelfranca
Commits on May 31, 2012
  1. @carlosantoniodasilva
Something went wrong with that request. Please try again.