aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations
Commit message (Expand)AuthorAgeFilesLines
* Make sure about which is the first element of the query, fixes a postgresql 8...Santiago Pastorino2010-06-091-2/+2
* Fix multiple self-referencing eager loads failing to join multiple timesErnie Miller2010-06-081-1/+9
* Merge remote branch 'rsim/oracle_enhanced_rails3'wycats2010-06-072-1/+5
|\
| * fix test_belongs_to_with_primary_key_joins_on_correct_column test on OracleRaimonds Simanovskis2010-06-041-0/+4
| * do order by id when finding first fixture to ensure that it is correct oneRaimonds Simanovskis2010-06-041-1/+1
* | removes Array#random_element and backports Array#sample from Ruby 1.9, thanks...Xavier Noria2010-06-051-7/+7
|/
* Use better assertion methods for testingNeeraj Singh2010-05-198-31/+24
* Change on Array extension from rand => random_element [#4555 state:committed]Santiago Pastorino2010-05-161-7/+7
* Make use of assert_equal to test equallity between object assert expects and ...Santiago Pastorino2010-05-161-1/+1
* Fix for get_ids when including a belongs_to association on a has_many associa...Diego Algorta2010-05-151-0/+4
* Fix eager loading of associations causing table name collisionsErnie Miller2010-04-281-0/+9
* kill warnings on 1.8.7 [#4331 state:resolved]Aaron Patterson2010-04-101-4/+4
* Add tests to prevent regression of lazy evaluation of has_many ..., :dependen...Andrew White2010-04-041-0/+18
* Dont try to load the record from the db if preloading didn't find anythingPratik Naik2010-03-311-0/+6
* Fix failing test in MySQL.Emilio Tagua2010-03-301-3/+8
* Fix honoring :primary_key option when joining or eager loading a belongs_to a...Ernie Miller2010-03-291-0/+13
* Add :dependent = to has_one and has_many [#3075 state:resolved]Rizwan Reza2010-03-283-2/+24
* removing dead code from activerecord tests. [#4187 state:resolved]Aaron Patterson2010-03-152-21/+0
* cleaning up a bunch of parse time warnings in AR [#4186 state:resolved]Aaron Patterson2010-03-153-5/+5
* Hack to keep column metadata queries out of test query countsJeremy Kemper2010-03-151-3/+7
* Fix associations to call :destroy or :delete based on the right :dependent op...Carlos Antonio da Silva2010-03-093-27/+29
* Remove find_with_associations and related code from associations now that Rel...Pratik Naik2010-01-201-15/+0
* Make scopes use relations under the hoodPratik Naik2010-01-161-28/+0
* Remove the test which was testing a non-existing method, always failing on 1....Pratik Naik2010-01-021-6/+0
* Oops. Remove debug information inside a test from the previous commitPratik Naik2009-12-291-2/+0
* Migrate all the calculation methods to RelationPratik Naik2009-12-291-0/+2
* Don't publicize with_scope for tests since it may shadow public misuseJeremy Kemper2009-12-281-4/+4
* Fix pg testJeremy Kemper2009-12-281-1/+2
* Make polymorphic_inverse_of in Reflection throw an InverseOfAssociationNotFou...Murray Steele2009-12-281-2/+15
* Provide a slightly more robust we_can_set_the_inverse_on_this? method for pol...Murray Steele2009-12-281-1/+16
* Add inverse polymorphic association support. [#3520 state:resolved]George Ogata2009-12-281-19/+81
* Add more tests for the various ways we can assign objects to associations. [#...Murray Steele2009-12-281-11/+159
* Set inverse for #replace on a has_one association. [#3513 state:resolved]George Ogata2009-12-281-0/+15
* Relation#readonly(false) should toggle the readonly flagPratik Naik2009-12-281-1/+1
* Remove unused construct_finder_sqlPratik Naik2009-12-281-14/+14
* Add Model.from and association_collection#from finder methodsPratik Naik2009-12-281-8/+1
* Add new finder methods to association collection.Pratik Naik2009-12-271-4/+4
* Forgot to revert tests from that last commitJoshua Peek2009-12-121-8/+0
* Revert "Fix instance_eval calls to association proxies"Joshua Peek2009-12-121-1/+0
* Fix postgresql AR test failureJohn Pignata2009-12-111-2/+2
* Fix instance_eval calls to association proxiesMat Brown2009-12-021-0/+8
* Revert "Revert "Assert primary key does not exist in habtm when the associati...Jeremy Kemper2009-11-231-14/+2
* Insert generated association members in the same order they are specified whe...Gabe da Silveira2009-11-171-0/+22
* delete correct records for a has_many with :primary_key and :dependent => :de...Matt Jones2009-11-101-0/+12
* Merge branch 'associations_2'Emilio Tagua2009-10-051-1/+1
|\
| * Added eager loading support to Relation and ActiveRecord#all.Emilio Tagua2009-10-051-1/+1
* | Merge commit 'rails/master'Emilio Tagua2009-10-021-0/+18
|\ \
| * | Make has_one with :conditions hash scope build or creation of the associated ...Luciano G Panaro2009-09-281-0/+18
* | | Merge commit 'rails/master'Emilio Tagua2009-09-141-0/+9
|\| |
| * | Fix has_one with foreign_key and primary_key association bug which caused the...Graeme Porteous2009-09-121-0/+9