Skip to content
This repository

Dec 21, 2011

  1. Kuba Kuźma

    added failing tests for has_many, has_one and belongs_to associations…

    … with strict mass assignment sanitizer, fixed build_record to not merge creation_attributes, removed failing nested attributes tests (that feature was broken anyway) #4051
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
    authored December 21, 2011 josevalim committed December 21, 2011

Dec 15, 2011

  1. Andrew Kaspick

    Allow nested attributes in associations to update values in it's owne…

    …r object. Fixes a regression from 3.0.x
    authored December 14, 2011

Aug 15, 2011

  1. Jon Leighton

    Fix private methods which are delegated to. This previously worked be…

    …cause Module#delegate previously ignored method visibility.
    authored July 18, 2011

Jul 07, 2011

  1. Jon Leighton

    Don't construct association scope in initializer. This yields a big p…

    …erformance gain for cases where the association is never used to load the target, for example with preloading. Related: #1873.
    authored July 07, 2011

Jun 30, 2011

  1. Jon Leighton

    Assign the association attributes to the associated record before the…

    … before_initialize callback of the record runs. Fixes #1842.
    authored June 30, 2011

Jun 07, 2011

  1. Jon Leighton

    Allow polymorphic has_one to work when the association is set before …

    …the owner has been saved. Fixes #1524.
    authored June 08, 2011
  2. Jon Leighton

    When you add a record to a polymorphic has_one, you should be able to…

    … access the owner from the associated record
    authored June 08, 2011

Apr 13, 2011

  1. Prem Sichanugrist

    Remove `#among?` from Active Support

    After a long list of discussion about the performance problem from using varargs and the reason that we can't find a great pair for it, it would be best to remove support for it for now.
    
    It will come back if we can find a good pair for it. For now, Bon Voyage, `#among?`.
    authored April 13, 2011 dhh committed April 13, 2011

Apr 11, 2011

  1. David Heinemeier Hansson

    Change Object#either? to Object#among? -- thanks to @jamesarosen for …

    …the suggestion!
    authored April 12, 2011

Apr 10, 2011

  1. Prem Sichanugrist

    Using Object#in? and Object#either? in various places

    There're a lot of places in Rails source code which make a lot of sense to switching to Object#in? or Object#either? instead of using [].include?.
    authored April 11, 2011 dhh committed April 11, 2011

Mar 10, 2011

  1. Jon Leighton

    Move the code which builds a scope for through associations into a ge…

    …neric AssociationScope class which is capable of building a scope for any association.
    authored March 10, 2011

Mar 05, 2011

  1. R.T. Lechow

    Active Record typos.

    authored March 03, 2011 fxn committed March 05, 2011

Mar 04, 2011

  1. Jon Leighton

    Fix a couple of tests in join_model_test.rb which were failing when t…

    …he identity map is turned off
    authored March 04, 2011 tenderlove committed March 04, 2011

Feb 21, 2011

  1. Jon Leighton

    Rename target_klass to klass

    authored February 20, 2011 tenderlove committed February 21, 2011
  2. Jon Leighton

    Delegate Association#options to the reflection, and replace 'reflecti…

    …on.options' with 'options'. Also add through_options and source_options methods for through associations.
    authored February 20, 2011 tenderlove committed February 21, 2011
  3. Jon Leighton

    Associations - where possible, call attributes methods rather than di…

    …rectly accessing the instance variables
    authored February 20, 2011 tenderlove committed February 21, 2011

Feb 18, 2011

  1. Emilio Tagua

    Initialize @target instead asking if it is defined.

    authored February 18, 2011
  2. Emilio Tagua

    Reindent and remove wrong line left in merge by mistake.

    authored February 18, 2011
  3. Emilio Tagua

    Merge remote branch 'rails/master' into identity_map

    Conflicts:
    	activerecord/lib/active_record/associations/association.rb
    	activerecord/lib/active_record/fixtures.rb
    authored February 18, 2011
  4. Jon Leighton

    Split AssociationProxy into an Association class (and subclasses) whi…

    …ch manages the association, and a CollectionProxy class which is *only* a proxy. Singular associations no longer have a proxy. See CHANGELOG for more.
    authored February 17, 2011
Something went wrong with that request. Please try again.