aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations
Commit message (Expand)AuthorAgeFilesLines
* Use klass.sti_name to make sure associations take store_full_sti_class into a...Daniel Guettler2008-07-221-0/+18
* Make sure association preloading works with full STI class name [#465 state:R...Joachim Garth2008-07-181-0/+36
* Add block syntax to HasManyAssociation#build. [#502 state:resolve]Jason Dew2008-07-141-0/+31
* Add support for :primary_key option to has_one as well as has_many so that a ...Brad Greenlee2008-07-061-0/+7
* Add has_many :primary_key option to allow setting the primary key on a has ma...Andre Arko2008-07-061-0/+4
* Ensure AssociationCollection#size considers all unsaved record. [#305 state:r...Pratik Naik2008-07-021-0/+7
* Make sure associated has_many/habtm objects get saved even when :validate => ...Jan De Poorter2008-06-271-1/+18
* fix mergerick2008-06-194-4/+57
|\
| * Fix quoting in test_counting_with_single_conditionsJeremy Kemper2008-06-111-1/+1
| * Added some has_many testsJan De Poorter2008-06-111-3/+3
| * Add :validate option to associations. [#301 state:resolved]Jan De Poorter2008-06-113-0/+42
| * Fix conditions and order on join tables with limited eager loading. [#372 st...Tiago Macedo2008-06-081-1/+12
* | fix eager loading with dynamic findersBrandon Keepers2008-06-092-0/+12
|/
* belongs_to polymorphic association assignments update the foreign_id and fore...Tim Harper2008-05-311-1/+28
* Ensure query assertion counts are the same when partial updates are enabledJeremy Kemper2008-05-302-0/+3
* Ensure AssociationCollection#count works with empty condition. [#271 state:re...Pratik Naik2008-05-291-0/+4
* Fix faulty tests introduced in 8d0b4fa39Michael Koziarski2008-05-241-1/+1
* Added :select option to has_one and belongs_to, remove unused :order option o...josevalim2008-05-242-0/+10
* Add first/last methods to associations/named_scope. [#226 state:resolved]Ryan Bates2008-05-203-0/+70
* Don't rely on association proxying object_id. [#225 state:resolved]Jeremy Kemper2008-05-191-2/+2
* When preloading group by reflection rather than by class [#125 state:resolved]Frederick Cheung2008-05-111-0/+6
* Fix blank conditions on AssociationCollection#find. [#104 state:resolved]Jonathan Viney2008-05-111-1/+7
* Ensure hm:t preloading honours reflection options. [#137 state:resolved]Frederick Cheung2008-05-111-0/+11
* Ensure correct record is returned when preloading has_one where more than one...Frederick Cheung2008-05-061-0/+4
* Fix failing associate_with_create tests inserting null first_nameJeremy Kemper2008-05-011-3/+3
* Merge branch 'master' of git@github.com:rails/railsDavid Heinemeier Hansson2008-05-011-1/+22
|\
| * Fixed AssociationsPreload such that it doesnt require foreign keys to be inte...David Heinemeier Hansson2008-04-301-1/+22
* | best solution?Steven Soroka2008-05-011-0/+12
|/
* Ensure table names are quoted by the association preloading code.Frederick Cheung2008-04-261-1/+27
* Fixes a subtle bug when using symbols for key definitions in habtm associationsDavid Dollar2008-04-231-0/+29
* Fix include? on has_many collections with finder_sql to fall back to Array in...Joshua Bates2008-04-231-0/+11
* Use schema.rb for all databasesFrederick Cheung2008-04-221-1/+1
* Revert "Ensure that save on child object fails for invalid belongs_to associa...Michael Koziarski2008-04-111-12/+0
* Ensure that save on child object fails for invalid belongs_to association. Cl...Pratik Naik2008-04-101-0/+12
* Split associations_test.rb into multiple files based on association type. [Pr...Pratik Naik2008-04-066-0/+2445
* Refactor HasManyThroughAssociation to inherit from HasManyAssociation. Associ...Pratik Naik2008-04-061-5/+27
* Make HABTM#create behave the same as << with after_add callbacks. Closes #11...Michael Koziarski2008-04-041-0/+15
* Add efficient #include? to AssociationCollection (for has_many/has_many :thro...Rick Olson2008-04-011-0/+30
* Make sure ActiveRecord tests can run individually. Closes #11425 [thechrisosh...Pratik Naik2008-03-281-1/+1
* Fix issue where the :uniq option of a has_many :through association is ignore...Rick Olson2008-03-261-0/+8
* Merge the has_finder gem, renamed as 'named_scope'. Closes #11404 [nkallen]Rick Olson2008-03-241-4/+5
* Add has_one :through support, finally. Closes #4756 [thechrisoshow]Rick Olson2008-03-211-1/+1
* Fixed that scoped joins would not always be respected (closes #6821) [Theory/...David Heinemeier Hansson2008-03-131-0/+8
* Ensure that ActiveRecord::Calculations disambiguates field names with the tab...Rick Olson2008-03-131-0/+8
* Improve performance by avoiding named block arguments. Closes #11109 [adymo]Michael Koziarski2008-02-291-0/+5
* Provide a post title for sqlite3Jeremy Kemper2008-02-281-2/+2
* Fix that batched :include would pull in duplicate records in some cases. Clos...Jeremy Kemper2008-02-281-0/+26
* Fix preloading nil polymorphic belongs_to. Closes #11218 [matrix9180]Jeremy Kemper2008-02-271-1/+7
* Remove dead code from hmt#delete. Closes #11236 [rubyruy]Jeremy Kemper2008-02-271-0/+2
* Move the eager load nested include tables into schema.rb and use delete_all i...Michael Koziarski2008-02-201-64/+38