aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations
Commit message (Expand)AuthorAgeFilesLines
* Merge remote branch 'rails/master' into identity_mapEmilio Tagua2011-02-1514-323/+801
|\
| * Add interpolation of association conditions back in, in the form of proc { .....Jon Leighton2011-02-145-2/+24
| * Add missing requireSantiago Pastorino2011-02-131-0/+1
| * Fix table name collision due to incorrect alias count on certain joins.Ernie Miller2011-02-121-0/+7
| * require tag since we need it for this testAaron Patterson2011-02-071-0/+1
| * Correctly update counter caches on deletion for has_many :through [#2824 stat...Jon Leighton2011-02-072-10/+56
| * Support the :dependent option on has_many :through associations. For historic...Jon Leighton2011-02-071-0/+100
| * Make record.association.destroy(*records) on habtm and hm:t only delete recor...Jon Leighton2011-02-072-12/+30
| * the connection pool caches table_exists? callsAaron Patterson2011-02-071-0/+2
| * adjust query counts to be consistent across databases, make sure database log...Aaron Patterson2011-02-041-3/+6
| * column cache now lives on the connection poolAaron Patterson2011-02-041-2/+2
| * almost fistedAaron Patterson2011-02-041-2/+2
| * Fixing ordering of HABTM association deletion [#6191 state:resolved]Edward Faulkner2011-02-041-1/+1
| * Propagate association extensions to scopes called on the association.Glenn Vanderburg2011-02-011-0/+5
| * Has many through - It is not necessary to manually merge in the conditions ha...Jon Leighton2011-01-301-1/+11
| * AssociationCollection#clear can basically just use #delete_all, except it sho...Jon Leighton2011-01-301-3/+6
| * AssociationCollection#to_ary should definitely dup the target! Also changed #...Jon Leighton2011-01-301-0/+7
| * DRY up first/last and hence make last benefit from the bugfix in firstJon Leighton2011-01-301-0/+6
| * We shouldn't be using scoped.scoping { ... } to build associated records, as ...Jon Leighton2011-01-302-1/+32
| * Removed support for accessing attributes on a has_and_belongs_to_many join ta...Jon Leighton2011-01-161-83/+0
| * belongs_to records should be initialized within the association scopeJon Leighton2011-01-161-0/+21
| * Add create_association! for belongs_toJon Leighton2011-01-161-0/+17
| * Add missing requireSantiago Pastorino2011-01-141-0/+1
| * include_in_memory? should check against @target list in case of new records. ...Aaron Patterson2011-01-121-0/+7
| * adding a test for no method errorAaron Patterson2011-01-111-0/+52
| * use underlying _read_attribute method rather than causing NoMethodErrorsAaron Patterson2011-01-111-1/+1
| * Support for create_association! for has_one associationsJon Leighton2011-01-111-0/+18
| * Get rid of set_association_target and association_loaded? as the parts of the...Jon Leighton2011-01-111-1/+1
| * Raise ActiveRecord::RecordNotSaved if an AssociationCollection fails to be re...Jon Leighton2011-01-111-0/+13
| * When assigning a has_one, if anything fails, the assignment should be rolled ...Jon Leighton2011-01-111-2/+5
| * In a number of places in the tests, we only need to turn off transactional fi...Jon Leighton2011-01-111-1/+2
| * When assigning a has_one, if the new record fails to save, raise an errorJon Leighton2011-01-111-14/+14
| * When assigning a has_one, if the existing record fails to be removed from the...Jon Leighton2011-01-111-0/+12
| * has_one should always remove the old record (properly), even if not saving th...Jon Leighton2011-01-111-10/+25
| * Fix polymorphic belongs_to associationproxy raising errors when loading target.Ernie Miller2011-01-111-0/+9
| * Don't not remove double negativesJon Leighton2011-01-071-1/+1
| * Construct an actual ActiveRecord::Relation object for the association scope, ...Jon Leighton2011-01-071-8/+0
| * just use a hash for doing association cachingAaron Patterson2011-01-071-2/+2
| * fixing merge errorsAaron Patterson2011-01-042-78/+0
| * Remove undocumented feature from has_one where you could pass false as the se...Jon Leighton2011-01-032-36/+7
| * When preloading a belongs_to, the target should still be set (to nil) if ther...Jon Leighton2011-01-031-0/+9
| * Let AssociationCollection#find use #scoped to do its finding. Note that I am ...Jon Leighton2011-01-031-7/+0
| * Allow assignment on has_one :through where the owner is a new record [#5137 s...Jon Leighton2011-01-033-22/+53
| * Some basic tests for the :foreign_type option on belongs_to, which was previo...Jon Leighton2011-01-032-1/+31
| * Support for :counter_cache on polymorphic belongs_toJon Leighton2010-12-311-0/+12
| * Refactor BelongsToAssociation to allow BelongsToPolymorphicAssociation to inh...Jon Leighton2010-12-311-6/+36
| * Verify that when has_many associated objects are destroyed via :dependent => ...Jon Leighton2010-12-311-0/+9
| * Fix dodgy tests which were effectively asserting nil == nilJon Leighton2010-12-261-3/+3
| * Raise an error for associations which try to go :through a polymorphic associ...Jon Leighton2010-12-231-3/+8
| * If a has_many goes :through a belongs_to, and the foreign key of the belongs_...Jon Leighton2010-12-233-23/+68