Skip to content
This repository

Oct 17, 2011

  1. Exclude _destroy parameter in :all_blank check (issue #2937)

    Aaron Christy authored

Jul 20, 2011

  1. Aaron Patterson

    no need to sort the values

    tenderlove authored
  2. Franck Verrot

    assign_nested_attributes_for_collection_association should work with …

    …Ruby 1.9 [Closes #2106]
    
    Children attributes can be either String's or Symbol's, so let's check if the object responds to to_i.
    franckverrot authored tenderlove committed

Jul 04, 2011

  1. Andrew White

    Use an instance variable to store the current masss assignment options

    pixeltrix authored

Jun 13, 2011

  1. Andrew White

    Pass mass-assignment options to nested models - closes #1673.

    pixeltrix authored

Apr 10, 2011

  1. José Valim

    Remove dead branch code that appeared back in a merge.

    josevalim authored

Apr 05, 2011

  1. Durran Jordan

    Destroying records via nested attributes works independent of reject_if:

    - When a :_destroy truthiness is provided in the attributes hash, the
      record should get destroyed regardless of the result of the proc or
        method supplied to :reject_if. (If :allow_destroy is true)
    
    [#6006 state:committed]
    
    Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
    durran authored spastorino committed

Feb 18, 2011

  1. Emilio Tagua

    Merge remote branch 'rails/master' into identity_map

    Conflicts:
    	activerecord/lib/active_record/associations/association.rb
    	activerecord/lib/active_record/fixtures.rb
    miloops authored
  2. 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.
    jonleighton authored

Feb 15, 2011

  1. Emilio Tagua

    Merge remote branch 'rails/master' into identity_map

    Conflicts:
    	activerecord/examples/performance.rb
    	activerecord/lib/active_record/association_preload.rb
    	activerecord/lib/active_record/associations.rb
    	activerecord/lib/active_record/associations/association_proxy.rb
    	activerecord/lib/active_record/autosave_association.rb
    	activerecord/lib/active_record/base.rb
    	activerecord/lib/active_record/nested_attributes.rb
    	activerecord/test/cases/relations_test.rb
    miloops authored

Feb 14, 2011

  1. Jon Leighton

    Rename add_record_to_target_with_callbacks to add_to_target

    jonleighton authored

Jan 04, 2011

  1. Jon Leighton

    ActiveRecord::Relation#primary_key should return a string, just like …

    …ActiveRecord::Base.primary_key does.
    jonleighton authored tenderlove committed
  2. Jon Leighton

    Let AssociationCollection#find use #scoped to do its finding. Note th…

    …at I am removing test_polymorphic_has_many_going_through_join_model_with_disabled_include, since this specifies different behaviour for an association than for a regular scope. It seems reasonable to expect scopes and association proxies to behave in roughly the same way rather than having subtle differences.
    jonleighton authored tenderlove committed

Dec 23, 2010

  1. Jon Leighton

    When a has_many association is not :uniq, appending the same record m…

    …ultiple times should append it to the @target multiple times [#5964 state:resolved]
    jonleighton authored tenderlove committed

Dec 20, 2010

  1. Emilio Tagua

    Merge remote branch 'rails/master' into identity_map

    Conflicts:
    	activerecord/lib/active_record/associations/association_proxy.rb
    	activerecord/lib/active_record/autosave_association.rb
    	activerecord/lib/active_record/base.rb
    	activerecord/lib/active_record/persistence.rb
    miloops authored

Nov 24, 2010

  1. Neeraj Singh

    If a nested_attribute is being marked for destruction and at the same…

    … time an attr_accessor value is being assigned then the value being assigned is being ignored. This patch is a fix for that issue.
    
    [#5939 state:resolved]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
    neerajdotname authored josevalim committed

Nov 23, 2010

  1. Emilio Tagua

    Remove unneeded local var.

    miloops authored tenderlove committed
  2. Emilio Tagua

    Remove uneeded local var definition.

    miloops authored tenderlove committed

Nov 20, 2010

  1. Josh Kalderimis

    class inheritable attributes is used no more! all internal use of cla…

    …ss inheritable has been changed to class_attribute. class inheritable attributes has been deprecated.
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
    joshk authored josevalim committed

Nov 19, 2010

  1. Emilio Tagua

    Bring back "Reject attributes even if association is loaded" after re…

    …basing to master.
    miloops authored
  2. Marcin Raczkowski

    Reeject attributes even if association is loaded

    swistak authored miloops committed

Nov 11, 2010

  1. Santiago Pastorino

    present? is better here

    spastorino authored
  2. Santiago Pastorino

    Use ! instead of not

    spastorino authored
  3. Santiago Pastorino

    Fixed bug in active_record/nested_attributes where an empty string id…

    … caused an ActiveRecord::RecordNotFound error. Found by [Ben Tillman]
    
    [#5638 state:committed]
    
    Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
    spastorino authored

Oct 14, 2010

  1. Michael Koziarski

    Revert 0c0b0aa which introduced a security vulnerability.

    This addresses  CVE-2010-3933
    
    Conflicts:
    
    	activerecord/lib/active_record/nested_attributes.rb
    NZKoz authored

Sep 27, 2010

  1. Neeraj Singh

    Fix for nested_attributes with has_many association fails when a sing…

    …le record is being updated.
    
    [#5705 state:resolved]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
    neerajdotname authored josevalim committed

Sep 24, 2010

  1. Neeraj Singh

    reject_id option should be respected while using nested_attributes

    [#5579 state:resolved]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
    neerajdotname authored josevalim committed

Sep 22, 2010

  1. Aaron Patterson

    switch present in favor of empty

    tenderlove authored

Aug 19, 2010

  1. Trevor Turk

    Note about validates_presence_of and nested attributes

    trevorturk authored
  2. Trevor Turk

    Note about using attr_accessible with nested attributes

    trevorturk authored

Aug 14, 2010

  1. Santiago Pastorino

    Deletes trailing whitespaces (over text files only find * -type f -ex…

    …ec sed 's/[ \t]*$//' -i {} \;)
    spastorino authored

Jul 30, 2010

  1. Xavier Noria

    edit pass to apply API guideline wrt the use of "# =>" in example code

    fxn authored

Jun 29, 2010

  1. Adam Meehan

    accepts_nested_attributes_for typo

    adzap authored

Jun 27, 2010

  1. George Montana Harkin

    Fixes #2415 by creating a new instance of the Model when saving attri…

    …butes to that model and the associated attributes already exist. Tests included. [#2415 state:resolved]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
    harking authored josevalim committed

Jun 17, 2010

  1. Malcolm Locke

    Missing quote and indentation wrong

    malclocke authored
Something went wrong with that request. Please try again.