aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations
Commit message (Expand)AuthorAgeFilesLines
* 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
* | | Merge commit 'rails/master'Emilio Tagua2009-09-081-1/+1
|\| |
| * | Changed ActiveRecord to use new callbacks and speed up observers by only noti...José Valim2009-09-081-1/+1
* | | Merge commit 'rails/master'Emilio Tagua2009-09-081-2/+14
|\| |
| * | Revert "Assert primary key does not exist in habtm when the association is de...Jeremy Kemper2009-09-021-2/+14
* | | Merge commit 'rails/master'Emilio Tagua2009-09-011-14/+2
|\| | | |/ |/|
| * Assert primary key does not exist in habtm when the association is defined, i...José Valim2009-09-011-14/+2
* | Use finder options as relation method names to provide more familiarEmilio Tagua2009-08-181-5/+5
* | Merge commit 'rails/master'Emilio Tagua2009-08-171-1/+1
|\|
| * Fix test_has_many_through_polymorphic_has_one on sqlite2 [#3054 state:resolved]Jay Pignata2009-08-151-1/+1
* | Merge commit 'rails/master'Emilio Tagua2009-08-111-0/+18
|\|
| * Add tests for hm:t#push failuresPratik Naik2009-08-111-0/+18
* | Merge commit 'rails/master'Emilio Tagua2009-08-101-12/+8
|\|
| * Rewrite hm:t#create tests using assert_no_difference and assert_differencePratik Naik2009-08-101-12/+8