aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations
Commit message (Expand)AuthorAgeFilesLines
* Pass the attribute and option hashes to build_associationAndrew White2011-05-172-0/+29
* Fixed InnerJoinAssociationTest. Need to load essays fixture.Arun Agrawal2011-05-171-1/+1
* Adding missing requireGuillermo Iguaran2011-05-161-0/+1
* Merge pull request #560 from guilleiguaran/fix_pluralize_table_names_falseJon Leighton2011-05-161-0/+11
|\
| * Fixing has_many association when ActiveRecord::Base.pluralize_table_names is ...Guillermo Iguaran2011-05-151-0/+11
* | CollectionAssociation#merge_target_lists should write to the underlying attri...Jon Leighton2011-05-141-0/+10
|/
* Don't use mass-assignment protection when setting foreign keys or association...Jon Leighton2011-05-121-0/+33
* Merge pull request #512 from pivotalneutron/fix_eager_load_with_calculationsJon Leighton2011-05-111-1/+3
|\
| * Bug fixes:Fadzril Muhamad & Joseph Palermo2011-05-121-1/+3
* | Add missing requiresSantiago Pastorino2011-05-111-0/+1
* | Don't remove the target if it has already been destroyedAndrew White2011-05-111-0/+9
|/
* Don't use select() values from the join model of a through association. Fixes...Jon Leighton2011-05-111-0/+4
* Bring back obj.association_loaded? as a deprecated method. Fixes #472.Jon Leighton2011-05-111-0/+9
* Add test to specify that attributes from an association's conditions should b...Jon Leighton2011-05-101-4/+23
* Don't use mass-assignment protection when applying the scoped.scope_for_creat...Jon Leighton2011-05-101-0/+9
* Add failing tests according to #479.José Valim2011-05-101-0/+15
* Add failing tests, according to #480.José Valim2011-05-101-0/+14
* Merge pull request #399 from ernie/join_conditions_on_joinJon Leighton2011-05-051-0/+11
|\
| * Add a test for outer joins with conditions where value IS NULLErnie Miller2011-05-051-0/+5
| * Add join conditions to JOIN clause, not WHEREErnie Miller2011-05-051-0/+6
* | Fix for lighthouse #6741Nick Howard2011-05-011-0/+24
|/
* assert_difference can take a callable piece of code rather than just evaling ...Aaron Patterson2011-05-011-4/+4
* fixing more test warnings in 1.9.3Aaron Patterson2011-04-303-6/+6
* Added test case and fix for proper eager loading associationsPavel Forkert2011-04-221-0/+10
* Fix test_associate_existing in has_many_through_associations_test on mysql an...Jon Leighton2011-04-171-1/+1
* Refactor test to avoid hackeryJon Leighton2011-04-151-4/+4
* Deprecated support for passing hashes and relations to default_scope, in favo...Jon Leighton2011-04-122-14/+14
* Using Object#in? and Object#either? in various placesPrem Sichanugrist2011-04-111-2/+3
* Added new #update_column method.Sebastian Martinez2011-03-275-14/+14
* Revert "Removed #update_attribute method. New #update_column method."Sebastian Martinez2011-03-275-14/+14
* 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