aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations
Commit message (Expand)AuthorAgeFilesLines
* Implement #many? for NamedScope and AssociationCollection using #size [#1500 ...Chris Kampmeier2009-05-171-0/+39
* has_one :through should not create a new association when assigned nil [#698 ...Daniel Guettler2009-05-171-1/+8
* Cherry-pick core extensionsJeremy Kemper2009-05-132-0/+2
* Use DependencyModule for included hooks in ActiveRecordBryan Helmkamp2009-05-111-7/+6
* Revert "Fixed bug with polymorphic has_one :as pointing to an STI record"Jeremy Kemper2009-05-111-8/+1
* Fixed eager load error on find with include => [:table_name] and hash conditi...Anthony Crumley2009-05-101-0/+12
* honour :inverse_of for joins based includeFrederick Cheung2009-05-101-0/+28
* honour inverse_of when preloading associationsFrederick Cheung2009-05-101-0/+33
* Providing support for :inverse_of as an option to associations.Murray Steele2009-05-041-0/+252
* Fixed bug with polymorphic has_one :as pointing to an STI recordRuy Asan2009-05-011-1/+8
* Fix models load order to be able to run unit tests.Emilio Tagua2009-04-231-5/+5
* Ensure :dependent => :delete_all works for association with hash conditionsPratik Naik2009-04-201-0/+6
* Ensure JoinAssociation uses aliased table name when multiple associations hav...Pratik Naik2009-04-201-0/+5
* Ensure AutosaveAssociation runs remove callbacks [#2146 state:resolved]Luca Guidi2009-03-123-0/+69
* Ensure NoMethodError isn't raised when some of the nested eager loaded associ...Murray Steele2009-03-121-0/+29
* Fixed autosave checks on objects with hm:t in :include [#2213 state:resolved]Will Bryant2009-03-123-0/+48
* Add tests for AssociationCollection#find_each and AssociationCollection#find_...Pratik Naik2009-03-111-0/+39
* Ensure has_many :through works with changed primary keys [#736 state:resolved]Jim Remsik and Tim Pope2009-03-091-1/+8
* Fix find_by_last when order is given [#2127 state:committed]Jan De Poorter2009-03-091-0/+4
* Ruby 1.9 compat: rename deprecated assert_raises to assert_raise.Jeremy Kemper2009-03-086-27/+27
* Fix RDoc grammar and ensure hm:t tests can run in isolation. [#1644 state:res...Adam Milligan2009-03-071-0/+2
* Ensure belongs_to association with a counter cache in name spaced model works...Adam Cooper2009-03-061-0/+17
* Ensure replacing has_one associations respects the supplied :dependent option...Dimitri Krassovski2009-03-061-0/+18
* Ensure self referential HABTM associations raise an exception if association_...Tom Lea2009-03-061-0/+8
* Fixed that autosave should validate associations even if master is invalid [#...David Heinemeier Hansson2009-02-273-345/+0
* Bump mocha requirement for Ruby 1.9 compat. Remove uses_mocha.Jeremy Kemper2009-02-034-25/+17
* Fix has_and_belongs_to_many_associations tests. #1738Pratik Naik2009-01-181-2/+2
* Cache columns for has_and_belongs_to_many associationslukeludwig2009-01-171-0/+11
* Make belongs_to :dependent => :destroy destroy self before associated object...Ben VandenBos2009-01-161-1/+2
* Fix HasManyAssociation#create ignoring the :primary_key option [#1633 state:r...Roman Shterenzon2008-12-271-0/+6
* Fix :include of has_one with :primary_key optionFrederick Cheung2008-12-261-0/+16
* Fix :include of has_many associations with :primary_key optionFrederick Cheung2008-12-261-0/+17
* Preload uses exclusive scope [#643 state:resolved]Frederick Cheung2008-12-261-0/+15
* Association preloading no longer stops if it hits a nil object [#1630 state:r...Pivotal Labs2008-12-261-0/+8
* Fix configure_dependency_for_has_many not quoting conditions properly [#1461 ...Frederick Cheung2008-12-211-0/+13
* Use explicit order to stop test failing randomlyFrederick Cheung2008-12-211-2/+2
* Fix has many through not quoting table names [#1163 state:resolved]Karthik Krishnan2008-12-201-0/+4
* Fix preloading of has_one :through associations on belongs_to [#1507 state:re...Matt Jones2008-12-181-1/+16
* Ensure :include checks joins when determining if it can preload [#528 state:r...Frederick Cheung2008-12-181-0/+65
* Add missing model files so tests can run isolated [#1506 state:resolved]Emilio Tagua2008-12-181-0/+3
* Fix preloading of belongs_to with null foreign key generating useless query [...Frederick Cheung2008-12-181-1/+2
* Revert "Fix: counter_cache should decrement on deleting associated records."Jeremy Kemper2008-12-102-34/+0
* Fix: counter_cache should decrement on deleting associated records.Emilio Tagua2008-12-102-0/+34
* Add :having option to find, to use in combination with grouped finds. Also ad...miloops2008-12-012-0/+10
* Ensure hash conditions on referenced tables are considered when eager loading...Paul2008-11-261-2/+18
* Remove SQL Server cases from tests for latest adapter work to pass rails expe...Ken Collins2008-11-191-1/+1
* fix assignment to has_one :through associations.Matt Jones2008-11-151-1/+39
* Added tests for HABTM associations with counter_sqlTekin Suleyman2008-11-071-0/+23
* Skip collection ids reader optimization if using :finder_sqlJeremy Kemper2008-10-231-0/+7
* Ensure association proxy responds to private class methods defined in associa...Pratik Naik2008-10-161-2/+8