| Commit message (Expand) | Author | Age | Files | Lines |
* | Removed support for accessing attributes on a has_and_belongs_to_many join ta... | Jon Leighton | 2011-01-16 | 1 | -83/+0 |
* | belongs_to records should be initialized within the association scope | Jon Leighton | 2011-01-16 | 1 | -0/+21 |
* | Add create_association! for belongs_to | Jon Leighton | 2011-01-16 | 1 | -0/+17 |
* | Add missing require | Santiago Pastorino | 2011-01-14 | 1 | -0/+1 |
* | include_in_memory? should check against @target list in case of new records. ... | Aaron Patterson | 2011-01-12 | 1 | -0/+7 |
* | adding a test for no method error | Aaron Patterson | 2011-01-11 | 1 | -0/+52 |
* | use underlying _read_attribute method rather than causing NoMethodErrors | Aaron Patterson | 2011-01-11 | 1 | -1/+1 |
* | Support for create_association! for has_one associations | Jon Leighton | 2011-01-11 | 1 | -0/+18 |
* | Get rid of set_association_target and association_loaded? as the parts of the... | Jon Leighton | 2011-01-11 | 1 | -1/+1 |
* | Raise ActiveRecord::RecordNotSaved if an AssociationCollection fails to be re... | Jon Leighton | 2011-01-11 | 1 | -0/+13 |
* | When assigning a has_one, if anything fails, the assignment should be rolled ... | Jon Leighton | 2011-01-11 | 1 | -2/+5 |
* | In a number of places in the tests, we only need to turn off transactional fi... | Jon Leighton | 2011-01-11 | 1 | -1/+2 |
* | When assigning a has_one, if the new record fails to save, raise an error | Jon Leighton | 2011-01-11 | 1 | -14/+14 |
* | When assigning a has_one, if the existing record fails to be removed from the... | Jon Leighton | 2011-01-11 | 1 | -0/+12 |
* | has_one should always remove the old record (properly), even if not saving th... | Jon Leighton | 2011-01-11 | 1 | -10/+25 |
* | Fix polymorphic belongs_to associationproxy raising errors when loading target. | Ernie Miller | 2011-01-11 | 1 | -0/+9 |
* | Don't not remove double negatives | Jon Leighton | 2011-01-07 | 1 | -1/+1 |
* | Construct an actual ActiveRecord::Relation object for the association scope, ... | Jon Leighton | 2011-01-07 | 1 | -8/+0 |
* | just use a hash for doing association caching | Aaron Patterson | 2011-01-07 | 1 | -2/+2 |
* | fixing merge errors | Aaron Patterson | 2011-01-04 | 2 | -78/+0 |
* | Remove undocumented feature from has_one where you could pass false as the se... | Jon Leighton | 2011-01-03 | 2 | -36/+7 |
* | When preloading a belongs_to, the target should still be set (to nil) if ther... | Jon Leighton | 2011-01-03 | 1 | -0/+9 |
* | Let AssociationCollection#find use #scoped to do its finding. Note that I am ... | Jon Leighton | 2011-01-03 | 1 | -7/+0 |
* | Allow assignment on has_one :through where the owner is a new record [#5137 s... | Jon Leighton | 2011-01-03 | 3 | -22/+53 |
* | Some basic tests for the :foreign_type option on belongs_to, which was previo... | Jon Leighton | 2011-01-03 | 2 | -1/+31 |
* | Support for :counter_cache on polymorphic belongs_to | Jon Leighton | 2010-12-31 | 1 | -0/+12 |
* | Refactor BelongsToAssociation to allow BelongsToPolymorphicAssociation to inh... | Jon Leighton | 2010-12-31 | 1 | -6/+36 |
* | Verify that when has_many associated objects are destroyed via :dependent => ... | Jon Leighton | 2010-12-31 | 1 | -0/+9 |
* | Fix dodgy tests which were effectively asserting nil == nil | Jon Leighton | 2010-12-26 | 1 | -3/+3 |
* | Raise an error for associations which try to go :through a polymorphic associ... | Jon Leighton | 2010-12-23 | 1 | -3/+8 |
* | If a has_many goes :through a belongs_to, and the foreign key of the belongs_... | Jon Leighton | 2010-12-23 | 3 | -23/+68 |
* | Test to verify that #2189 (count with has_many :through and a named_scope) is... | Jon Leighton | 2010-12-23 | 1 | -0/+5 |
* | Revert "Optimize <association>_ids for hm:t with belongs_to source". The opti... | Jon Leighton | 2010-12-23 | 1 | -6/+2 |
* | Test demonstrating problem with foo.association_ids where it's a has_many :th... | Jon Leighton | 2010-12-23 | 1 | -0/+4 |
* | When a has_many association is not :uniq, appending the same record multiple ... | Jon Leighton | 2010-12-23 | 1 | -0/+10 |
* | Fix behaviour of foo.has_many_through_association.select('custom select') [#6... | Michał Łomnicki | 2010-12-23 | 1 | -0/+5 |
* | Fix creation of has_many through records with custom primary_key option on be... | Szymon Nowak | 2010-12-23 | 1 | -1/+29 |
* | Verify that has_one :through preload respects the :conditions [#2976 state:re... | Will Bryant | 2010-12-23 | 1 | -0/+12 |
* | Don't allow a has_one association to go :through a collection association [#2... | Jon Leighton | 2010-12-23 | 1 | -5/+7 |
* | Fix for default_scope tests to ensure comparing of equally sorted lists | Raimonds Simanovskis | 2010-12-23 | 2 | -2/+2 |
* | removing SQL interpolation, please use scoping and attribute conditionals as ... | Aaron Patterson | 2010-12-22 | 1 | -4/+0 |
* | define_attr_method must serialize nil correctly | Aaron Patterson | 2010-12-20 | 1 | -0/+4 |
* | has_many associations with :dependent => :delete_all should update the counte... | Jon Leighton | 2010-12-20 | 1 | -0/+12 |
* | Fix problem where wrong keys are used in JoinAssociation when an association ... | Jon Leighton | 2010-12-20 | 1 | -0/+7 |
* | Fix various issues with the :primary_key option in :through associations [#24... | Jon Leighton | 2010-12-15 | 1 | -0/+16 |
* | Fix problem with duplicated records when a :uniq :through association is prel... | Jon Leighton | 2010-12-15 | 2 | -2/+15 |
* | test for eager load of has_one association with condition on the through table | Pivotal Labs | 2010-12-16 | 1 | -1/+9 |
* | Verify that creating a has_many through record where there is a default_scope... | Jon Leighton | 2010-12-16 | 1 | -0/+7 |
* | Respect the default_scope on a join model when reading a through association | Jon Leighton | 2010-12-16 | 2 | -1/+13 |
* | Fix hm:t to self table aliasing in construct_scope | Ernie Miller | 2010-12-16 | 1 | -1/+1 |