aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/has_many_through_associations_test.rb
Commit message (Expand)AuthorAgeFilesLines
* If a has_many goes :through a belongs_to, and the foreign key of the belongs_...Jon Leighton2010-12-231-0/+16
* Test to verify that #2189 (count with has_many :through and a named_scope) is...Jon Leighton2010-12-231-0/+5
* Revert "Optimize <association>_ids for hm:t with belongs_to source". The opti...Jon Leighton2010-12-231-6/+2
* Test demonstrating problem with foo.association_ids where it's a has_many :th...Jon Leighton2010-12-231-0/+4
* When a has_many association is not :uniq, appending the same record multiple ...Jon Leighton2010-12-231-0/+10
* Fix behaviour of foo.has_many_through_association.select('custom select') [#6...Michał Łomnicki2010-12-231-0/+5
* Fix creation of has_many through records with custom primary_key option on be...Szymon Nowak2010-12-231-1/+29
* Fix for default_scope tests to ensure comparing of equally sorted listsRaimonds Simanovskis2010-12-231-1/+1
* Fix problem where wrong keys are used in JoinAssociation when an association ...Jon Leighton2010-12-201-0/+7
* Fix problem with duplicated records when a :uniq :through association is prel...Jon Leighton2010-12-151-1/+7
* Verify that creating a has_many through record where there is a default_scope...Jon Leighton2010-12-161-0/+7
* Respect the default_scope on a join model when reading a through associationJon Leighton2010-12-161-0/+4
* Fix hm:t to self table aliasing in construct_scopeErnie Miller2010-12-161-1/+1
* add test which fails for has_many through self join [#4361 state:open]Joe Hannon2010-12-161-0/+7
* removing unused variablesAaron Patterson2010-11-221-1/+0
* Fix bug where size of through association is not correct after adding a has_m...Jason Cheow2010-11-141-0/+7
* AssociationCollection#include? working properly for objects added with build ...Marcelo Giorgi2010-09-301-0/+14
* Set attributes properly for model built from association with conditions [#55...Marcelo Giorgi2010-09-281-0/+14
* Deletes trailing whitespaces (over text files only find * -type f -exec sed '...Santiago Pastorino2010-08-141-2/+2
* Tidy up previous commit.José Valim2010-08-021-1/+1
* test and fix collection_singular_ids= with string primary keys [#5125 state:r...Robert Pankowecki2010-08-021-1/+39
* Use better assertion methods for testingNeeraj Singh2010-05-191-2/+2
* cleaning up a bunch of parse time warnings in AR [#4186 state:resolved]Aaron Patterson2010-03-151-2/+2
* Hack to keep column metadata queries out of test query countsJeremy Kemper2010-03-151-3/+7
* Add new finder methods to association collection.Pratik Naik2009-12-271-4/+4
* Insert generated association members in the same order they are specified whe...Gabe da Silveira2009-11-171-0/+22
* Add tests for hm:t#push failuresPratik Naik2009-08-111-0/+18
* Rewrite hm:t#create tests using assert_no_difference and assert_differencePratik Naik2009-08-101-12/+8
* has_many :through create should not raise validation errorsrailsbob2009-08-091-1/+28
* Enable has_many :through for going through a has_one association on the join ...Gabe da Silveira2009-08-101-0/+12
* Ensure hm:t#find does not assign nil to :include [#1845 state:resolved]railsbob2009-08-091-0/+5
* Ensure hm:t#create/create! throws ActiveRecord::RecordNotSaved when the owner...Pratik Naik2009-08-081-0/+7
* Optimize <association>_ids for hm:t with belongs_to sourcePratik Naik2009-07-131-2/+6
* Ensure hm:t#create respects source associations hash conditions [#2090 state:...mattbauer2009-06-211-0/+6
* 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
* Ensure AutosaveAssociation runs remove callbacks [#2146 state:resolved]Luca Guidi2009-03-121-0/+18
* Ensure has_many :through works with changed primary keys [#736 state:resolved]Jim Remsik and Tim Pope2009-03-091-1/+8
* Fix RDoc grammar and ensure hm:t tests can run in isolation. [#1644 state:res...Adam Milligan2009-03-071-0/+2
* Bump mocha requirement for Ruby 1.9 compat. Remove uses_mocha.Jeremy Kemper2009-02-031-6/+4
* Fix has many through not quoting table names [#1163 state:resolved]Karthik Krishnan2008-12-201-0/+4
* Add missing model files so tests can run isolated [#1506 state:resolved]Emilio Tagua2008-12-181-0/+3
* Revert "Fix: counter_cache should decrement on deleting associated records."Jeremy Kemper2008-12-101-14/+0
* Fix: counter_cache should decrement on deleting associated records.Emilio Tagua2008-12-101-0/+14
* Fix has_many :through when the source is a belongs_to association. [#323 stat...Zach Dennis2008-10-041-1/+16
* Make AssociationCollection start transactions in the correct database.Hongli Lai (Phusion)2008-09-231-0/+9
* Fix tests that assumed implicit order by idJeremy Kemper2008-08-301-2/+2
* Performance: Better query for ASSOCIATION_ids. Select only ids if the associa...miloops2008-08-301-0/+20
* Alias included associations if needed when doing a countTarmo Tänav2008-08-271-0/+4
* Fix HasManyThroughAssociationsTest tests. [#733 state:resolved]miloops2008-07-311-3/+6