aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations
Commit message (Expand)AuthorAgeFilesLines
...
* Removed #update_attribute method. New #update_column method.Sebastian Martinez2011-03-265-14/+14
* adding missing requireAaron Patterson2011-03-221-0/+1
* oracle, y u defy meJon Leighton2011-03-161-1/+1
* Fix tests under postgres - we should always put conditions in the WHERE part ...Jon Leighton2011-03-121-1/+1
* Add a test for STI on the through where the through is nested, and change the...Jon Leighton2011-03-051-0/+9
* When preloading has_and_belongs_to_many associations, we should only instanti...Jon Leighton2011-03-041-0/+16
* Merge branch 'master' into nested_has_many_throughJon Leighton2011-03-0416-504/+1182
|\
| * Rewrote AssociationPreload.Jon Leighton2011-02-282-16/+15
| * Use proper objects to do the work to build the associations (adding methods, ...Jon Leighton2011-02-211-8/+12
| * Don't use skip, just don't run anything, we don't have skip in Ruby 1.8Emilio Tagua2011-02-181-4/+2
| * Should use "=" instead "replace" after this commit: 1644663ba7f678d178deab2bf...Emilio Tagua2011-02-181-1/+1
| * No need to test agaisnt target.Emilio Tagua2011-02-181-1/+1
| * Merge remote branch 'rails/master' into identity_mapEmilio Tagua2011-02-187-109/+40
| |\
| | * Split AssociationProxy into an Association class (and subclasses) which manag...Jon Leighton2011-02-186-109/+12
| | * Allow building and then later saving has_many :through records, such that the...Jon Leighton2011-02-181-0/+18
| | * Ensure that association_ids uses the correct attribute where the association ...Jon Leighton2011-02-181-0/+10
| * | Run tests without IdentityMap when IM=false is given.Emilio Tagua2011-02-153-9/+13
| * | 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