Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on May 8, 2010
  1. @spastorino

    The intention here was to assign to different objects ht: Radar

    spastorino authored Carl Lerche committed
Commits on May 7, 2010
  1. @spastorino @jeremy

    Make find_or_create and find_or_initialize work mixing explicit param…

    spastorino authored jeremy committed
    …eters and a hash. ht: Marc-André Lafortune
    
    [#4457 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Commits on Apr 9, 2010
  1. @spastorino @josevalim

    fix stack trace lines on class_eval

    spastorino authored josevalim committed
    Signed-off-by: José Valim <jose.valim@gmail.com>
Commits on Mar 29, 2010
  1. @pixeltrix @jeremy

    Add the ability to specify table_name_prefix on individual modules

    pixeltrix authored jeremy committed
    [#4032 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Commits on Mar 7, 2010
  1. @tenderlove @jeremy

    converting inject to each and map

    tenderlove authored jeremy committed
    [#4119 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Commits on Feb 26, 2010
  1. @josevalim

    fixed a 'RecordNotFound' bug when calling 'reload' on a object which …

    Tobias Bielohlawek authored josevalim committed
    …doesn't met the default_scope conditions, added test [#3166 status:resolved]
    
    The reload method didn't made use of 'with_exclusive_scope' when reloading the object. This lead to a RecordNotFound exception, in case the object doesn't met the default_scope condition (anymore) - which is obviously a bug. This quick fix makes use of with_exclusive_scope in the reload method as well. See test for full example.
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
Commits on Jan 3, 2010
  1. @stefanpenner
Commits on Dec 4, 2009
  1. @gtd @jeremy

    Replace reset_counter_cache with reset_counters that has API inline w…

    gtd authored jeremy committed
    …ith existing update_counters method
    
    [#1211 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Commits on Dec 2, 2009
  1. @hardbap @jeremy

    Implement ActiveRecord#reset_counter_cache

    hardbap authored jeremy committed
    [#1211 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Commits on Sep 12, 2009
  1. @cainlevy @alloy

    Don't cascade autosave validation to destroyed children. [#2761 state…

    cainlevy authored alloy committed
    …:resolved]
    
    Signed-off-by: Eloy Duran <eloy.de.enige@gmail.com>
Commits on Aug 9, 2009
  1. @tristandunn @lifo

    Prevent overwriting of table name in merging SQL conditions [#2949 st…

    tristandunn authored lifo committed
    …ate:resolved]
  2. @arthurgeek @lifo

    Model#human_attribute_name now accept symbols [#3025 status:resolved]

    arthurgeek authored lifo committed
    Signed-off-by: José Valim <jose.valim@gmail.com>
  3. @stiff @lifo

    Make sure association conditions work with :include and :joins [#358

    stiff authored lifo committed
    …state:resolved]
    
    Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
  4. @jeremy

    With multiparameter date attributes, the behaviour when empty fields …

    Hugo Peixoto authored jeremy committed
    …are present is now coherent with the one described in the date_select documentation.
    
    [#1715 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Commits on Jun 10, 2009
  1. @NZKoz

    Whitelist the methods which are called by multiparameter attribute as…

    NZKoz authored
    …signment.
    
    This prevents users from causing NoMethodErrors and the like by editing the parameter names, and closes a potential exploit of CVE-2009-1904.
Commits on May 18, 2009
  1. @lifo

    Make sure default_scope#create checks for options[:conditions] [#2181

    lifo authored
    …state:resolved] [James Le Cuirot]
Commits on May 14, 2009
  1. @NZKoz

    Changed ActiveRecord::Base#exists? to invoke find_initial so that it …

    Peter Marklund authored NZKoz committed
    …is compatible with, and doesn't lose, :include scopes (references to eager loaded tables)
    
    Signed-off-by: Michael Koziarski <michael@koziarski.com>
    [#2543 state:committed]
Commits on Apr 20, 2009
  1. @lifo

    Ensure JoinAssociation uses aliased table name when multiple associat…

    lifo authored
    …ions have hash conditions on the same table
Commits on Mar 16, 2009
  1. @lifo

    Merge docrails

    lifo authored
Commits on Mar 12, 2009
  1. @chrisk @lifo

    Fix spelling of an internal method [#1734 state:resolved]

    chrisk authored lifo committed
    Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
Commits on Mar 11, 2009
  1. @jeremy
Commits on Mar 10, 2009
  1. @Manfred @lifo

    Ensure nested with_scope merges conditions inside out [#2193 state:re…

    Manfred authored lifo committed
    …solved]
    
    Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
Commits on Mar 9, 2009
  1. @rob-at-thewebfellas @lifo

    Allow find(:last) :order be a symbol [#2024 state:resolved]

    rob-at-thewebfellas authored lifo committed
    Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
  2. @DefV @dhh

    Fix find_by_last when order is given [#2127 state:committed]

    DefV authored dhh committed
    Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
Commits on Mar 6, 2009
  1. @willbryant @lifo

    Allow :having conditions to be sanitized like regular :condition. [#2158

    willbryant authored lifo committed
     state:resolved]
    
    Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
  2. @lifo
Commits on Feb 28, 2009
  1. @ffmike @lifo

    Fix that scoped find with :group and :having [#2006 state:resolved]

    ffmike authored lifo committed
    Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
Commits on Feb 24, 2009
  1. @lifo

    Merge with docrails

    lifo authored
Commits on Feb 23, 2009
  1. @dhh

    Added ActiveRecord::Base.each and ActiveRecord::Base.find_in_batches …

    dhh authored
    …for batch processing [DHH/Jamis Buck]
Commits on Feb 6, 2009
  1. @willbryant @NZKoz

    support end-exclusive ... Ranges in SQL hash condition sanitization p…

    willbryant authored NZKoz committed
    …roperly
    
    Signed-off-by: Michael Koziarski <michael@koziarski.com>
    [#1865 state:committed]
Commits on Feb 5, 2009
  1. @smtlaissezfaire @dhh

    Add ActiveRecord::Base.exists? with no args [#1817 state:committed]

    smtlaissezfaire authored dhh committed
    Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
Commits on Feb 1, 2009
  1. @alloy @NZKoz

    Add support for nested object forms to ActiveRecord and the helpers i…

    alloy authored NZKoz committed
    …n ActionPack
    
    Signed-Off-By: Michael Koziarski <michael@koziarski.com>
    
    [#1202 state:committed]
Commits on Jan 28, 2009
  1. @FiXato @lifo

    Ensure whitespaces are stripped when merging string joins. [#1297 sta…

    FiXato authored lifo committed
    …te:resolved]
    
    Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
  2. @lifo
Commits on Jan 24, 2009
  1. @lifo
Something went wrong with that request. Please try again.