aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations
Commit message (Expand)AuthorAgeFilesLines
* Ensure hm:t#create/create! throws ActiveRecord::RecordNotSaved when the owner...Pratik Naik2009-08-081-0/+7
* added :order option to find :first methods and associations as otherwise Orac...Raimonds Simanovskis2009-08-065-46/+63
* Add primary_key option to belongs_to associationSzymon Nowak2009-07-151-0/+98
* Optimize <association>_ids for hm:t with belongs_to sourcePratik Naik2009-07-131-2/+6
* Revert "Revert "Generate proper :counter_sql from :finder_sql when there is a...Pratik Naik2009-07-012-0/+12
* Revert "Generate proper :counter_sql from :finder_sql when there is a newline...Yehuda Katz + Carl Lerche2009-06-222-10/+0
* Generate proper :counter_sql from :finder_sql when there is a newline charact...Patrick Joyce2009-06-212-0/+10
* Ensure hm:t#create respects source associations hash conditions [#2090 state:...mattbauer2009-06-211-0/+6
* Merge branch 'master' into active_modelJoshua Peek2009-05-297-38/+420
|\
| * Break up DependencyModule's dual function of providing a "depend_on" DSL and ...Joshua Peek2009-05-281-1/+1
| * Fix eager association test related to different ordering on sqliteChad Woolley2009-05-211-1/+1
| * Add missing models and fixtures [#2673 state:resolved]Emilio Tagua2009-05-191-23/+23
| * Ensure HasManyThroughAssociation#destroy delete orphan records [#2251 state:r...Luca Guidi2009-05-181-2/+8
| * Fixed limited eager loading associations with numbers in the name [#2668 stat...Benjamin Floering2009-05-181-0/+4
| * 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
* | Merge branch 'master' into active_modelPratik Naik2009-04-222-0/+11
|\|
| * 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
* | Deprecate Error#on(attribute) in favour of Errors#[attribute]Pratik Naik2009-03-201-2/+2
|/
* 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