aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations
Commit message (Expand)AuthorAgeFilesLines
* has_one should always remove the old record (properly), even if not saving th...Jon Leighton2011-01-111-10/+25
* Fix polymorphic belongs_to associationproxy raising errors when loading target.Ernie Miller2011-01-111-0/+9
* Don't not remove double negativesJon Leighton2011-01-071-1/+1
* Construct an actual ActiveRecord::Relation object for the association scope, ...Jon Leighton2011-01-071-8/+0
* just use a hash for doing association cachingAaron Patterson2011-01-071-2/+2
* fixing merge errorsAaron Patterson2011-01-042-78/+0
* Remove undocumented feature from has_one where you could pass false as the se...Jon Leighton2011-01-032-36/+7
* When preloading a belongs_to, the target should still be set (to nil) if ther...Jon Leighton2011-01-031-0/+9
* Let AssociationCollection#find use #scoped to do its finding. Note that I am ...Jon Leighton2011-01-031-7/+0
* Allow assignment on has_one :through where the owner is a new record [#5137 s...Jon Leighton2011-01-033-22/+53
* Some basic tests for the :foreign_type option on belongs_to, which was previo...Jon Leighton2011-01-032-1/+31
* Support for :counter_cache on polymorphic belongs_toJon Leighton2010-12-311-0/+12
* Refactor BelongsToAssociation to allow BelongsToPolymorphicAssociation to inh...Jon Leighton2010-12-311-6/+36
* Verify that when has_many associated objects are destroyed via :dependent => ...Jon Leighton2010-12-311-0/+9
* Fix dodgy tests which were effectively asserting nil == nilJon Leighton2010-12-261-3/+3
* Raise an error for associations which try to go :through a polymorphic associ...Jon Leighton2010-12-231-3/+8
* If a has_many goes :through a belongs_to, and the foreign key of the belongs_...Jon Leighton2010-12-233-23/+68
* 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
* Verify that has_one :through preload respects the :conditions [#2976 state:re...Will Bryant2010-12-231-0/+12
* Don't allow a has_one association to go :through a collection association [#2...Jon Leighton2010-12-231-5/+7
* Fix for default_scope tests to ensure comparing of equally sorted listsRaimonds Simanovskis2010-12-232-2/+2
* removing SQL interpolation, please use scoping and attribute conditionals as ...Aaron Patterson2010-12-221-4/+0
* define_attr_method must serialize nil correctlyAaron Patterson2010-12-201-0/+4
* has_many associations with :dependent => :delete_all should update the counte...Jon Leighton2010-12-201-0/+12
* Fix problem where wrong keys are used in JoinAssociation when an association ...Jon Leighton2010-12-201-0/+7
* Fix various issues with the :primary_key option in :through associations [#24...Jon Leighton2010-12-151-0/+16
* Fix problem with duplicated records when a :uniq :through association is prel...Jon Leighton2010-12-152-2/+15
* test for eager load of has_one association with condition on the through tablePivotal Labs2010-12-161-1/+9
* 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-162-1/+13
* 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
* fixing whitespace errorsAaron Patterson2010-12-161-4/+4
* preheating cache so that tests can run in isolationAaron Patterson2010-12-091-0/+5
* Setting the id of a belongs_to object updates all referenced objects [#2989 s...Jeff Dean2010-12-081-0/+37
* not a responsibility for rails to testAaron Patterson2010-12-031-10/+0
* test case on has_one :through after a destroyJohn Hawthorn2010-11-291-0/+17
* removing unused variablesAaron Patterson2010-11-225-10/+5
* Removed ids_in_list_limit in favor of in_clause_length defined in database_li...Alex Rothenberg2010-11-231-7/+7
* removing space errorsAaron Patterson2010-11-181-1/+1
* Adapters can specify maximum number of ids they support in a list of expressionsAlex Rothenberg2010-11-181-0/+52
* Fix bug with 0bb85ed9ffa9808926b46e8f7e59cab5b85ac19f which missed out a fixt...Jon Leighton2010-11-171-1/+2
* removing many unused variablesAaron Patterson2010-11-161-2/+2
* reloading an association will properly set attributes of instantiated objects...Aaron Patterson2010-11-161-0/+21
* if association is already loaded and if a find operation is performed on the ...Neeraj Singh2010-11-151-0/+11