| Commit message (Expand) | Author | Age | Files | Lines |
* | Add interpolation of association conditions back in, in the form of proc { ..... | Jon Leighton | 2011-02-14 | 5 | -2/+24 |
* | Add missing require | Santiago Pastorino | 2011-02-13 | 1 | -0/+1 |
* | Fix table name collision due to incorrect alias count on certain joins. | Ernie Miller | 2011-02-12 | 1 | -0/+7 |
* | require tag since we need it for this test | Aaron Patterson | 2011-02-07 | 1 | -0/+1 |
* | Correctly update counter caches on deletion for has_many :through [#2824 stat... | Jon Leighton | 2011-02-07 | 2 | -10/+56 |
* | Support the :dependent option on has_many :through associations. For historic... | Jon Leighton | 2011-02-07 | 1 | -0/+100 |
* | Make record.association.destroy(*records) on habtm and hm:t only delete recor... | Jon Leighton | 2011-02-07 | 2 | -12/+30 |
* | the connection pool caches table_exists? calls | Aaron Patterson | 2011-02-07 | 1 | -0/+2 |
* | adjust query counts to be consistent across databases, make sure database log... | Aaron Patterson | 2011-02-04 | 1 | -3/+6 |
* | column cache now lives on the connection pool | Aaron Patterson | 2011-02-04 | 1 | -2/+2 |
* | almost fisted | Aaron Patterson | 2011-02-04 | 1 | -2/+2 |
* | Fixing ordering of HABTM association deletion [#6191 state:resolved] | Edward Faulkner | 2011-02-04 | 1 | -1/+1 |
* | Propagate association extensions to scopes called on the association. | Glenn Vanderburg | 2011-02-01 | 1 | -0/+5 |
* | Has many through - It is not necessary to manually merge in the conditions ha... | Jon Leighton | 2011-01-30 | 1 | -1/+11 |
* | AssociationCollection#clear can basically just use #delete_all, except it sho... | Jon Leighton | 2011-01-30 | 1 | -3/+6 |
* | AssociationCollection#to_ary should definitely dup the target! Also changed #... | Jon Leighton | 2011-01-30 | 1 | -0/+7 |
* | DRY up first/last and hence make last benefit from the bugfix in first | Jon Leighton | 2011-01-30 | 1 | -0/+6 |
* | We shouldn't be using scoped.scoping { ... } to build associated records, as ... | Jon Leighton | 2011-01-30 | 2 | -1/+32 |
* | 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 |