aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/associations_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Include some missing fixtures. Closes #7981.Jeremy Kemper2007-05-251-2/+1
* Ensure that associations with :dependent => :delete_all respect :conditions o...Rick Olson2007-05-241-0/+24
* belongs_to assignment creates a new proxy rather than modifying its target in...Jeremy Kemper2007-05-221-1/+14
* Sanitize Base#inspect. Closes #8392.Jeremy Kemper2007-05-181-32/+1
* Improve Performance of calling create on has_many :through associations by av...Michael Koziarski2007-04-261-2/+14
* Make sure with_scope takes both :select and :joins into account when setting ...Michael Koziarski2007-03-131-0/+10
* Oracle: overflow Time to DateTime. Closes #7718.Jeremy Kemper2007-03-061-2/+2
* Apply scoping during initialize instead of create. Fixes setting of foreign ...Tobias Lütke2007-01-121-0/+7
* fix regression in has_one#create, that caused instances thus created to be or...Jamis Buck2007-01-111-3/+3
* Pushing a record on an association collection doesn't unnecessarily load all ...Jeremy Kemper2006-12-211-3/+7
* Added counter optimization for AssociationCollection#any? so person.friends.a...David Heinemeier Hansson2006-12-051-0/+2
* Test has_one :dependent => :nullify with missing association. Closes #4828.Jeremy Kemper2006-11-201-0/+7
* Don't inspect unloaded associations. Closes #2905.Jeremy Kemper2006-11-101-0/+29
* has_one :dependent => :nullify ignores nil associates. Closes #6528.Jeremy Kemper2006-11-021-1/+11
* Oracle: resolve test failures, use prefetched primary key for inserts, check ...Jeremy Kemper2006-11-011-3/+3
* automatically add primary key to #select_limited_ids_list order by clause for...Rick Olson2006-10-131-1/+1
* fix select_limited_ids_list issues in postgresql, retain current behavior in ...Rick Olson2006-10-131-2/+1
* add test for select_limited_ids_list that passes in mysql/sqlite and fails in...Rick Olson2006-10-131-0/+15
* Restore eager condition interpolation, document it's differences [Rick]Rick Olson2006-10-111-1/+1
* Removes the ability for eager loaded conditions to be interpolated, since the...Rick Olson2006-10-091-0/+8
* Association collections have an _ids reader method to match the existing writ...Jeremy Kemper2006-10-011-0/+39
* Deprecation: count class method should be called with an options hash rather ...Jeremy Kemper2006-09-261-1/+3
* has_one associations with a nil target may be safely marshaled. Closes #6279.Jeremy Kemper2006-09-261-2/+15
* use a real testJeremy Kemper2006-09-251-9/+6
* Deprecation tests. Remove warnings for dynamic finders and for the foo_count ...Jeremy Kemper2006-09-151-27/+49
* Backed out of new_record? to new? transformation as it would screw up existin...David Heinemeier Hansson2006-09-051-50/+57
* Deprecated ActiveRecord::Base.new_record? in favor of ActiveRecord::Base.new?...David Heinemeier Hansson2006-09-051-57/+50
* Add deprecation warning for inferred foreign key. #6029 [Josh Susser]Rick Olson2006-09-041-0/+7
* Deprecation: use :dependent => :delete_all rather than :exclusively_dependent...Jeremy Kemper2006-09-041-1/+7
* has_many :through conditions are sanitized by the associating class. Closes #...Jeremy Kemper2006-09-011-0/+6
* has_one supports the :dependent => :delete option which skips the typical cal...Jeremy Kemper2006-08-291-0/+18
* Cache nil results for :included has_one associations also. Closes #5787.Jeremy Kemper2006-08-171-0/+3
* Fixed a bug which would cause .save to fail after trying to access a empty ha...Tobias Lütke2006-08-161-0/+10
* Cache nil results for has_one associations so multiple calls don't call the d...Rick Olson2006-08-081-0/+5
* Don't save has_one associations unnecessarily. Closes #5735.Jeremy Kemper2006-08-061-0/+17
* Oracle: use nonblocking queries if allow_concurrency is set, fix pessimistic ...Jeremy Kemper2006-07-071-1/+7
* Doc fix (closes #5504) [lee@omara.ca]David Heinemeier Hansson2006-07-051-0/+4
* Fixed that has_many.create ended up with duplicate objects (closes #5250) [da...David Heinemeier Hansson2006-06-031-0/+8
* band-aid for oracleRick Olson2006-05-291-2/+2
* Fix the has_and_belongs_to_many #create doesn't populate the join for new rec...Rick Olson2006-05-291-0/+28
* Provide Association Extensions access to the instance that the association is...Rick Olson2006-05-281-0/+23
* Make Oracle happyDavid Heinemeier Hansson2006-05-211-1/+1
* Fixed that has_many collections shouldn't load the entire association to do b...David Heinemeier Hansson2006-05-211-0/+29
* uniq preserves order. References [4325].Jeremy Kemper2006-05-071-6/+9
* Fix the HasManyAssociation#count method so it uses the new ActiveRecord::Base...Rick Olson2006-04-191-2/+18
* Fixed that AssociationCollection#delete_all should work even if the records o...Florian Weber2006-04-031-0/+19
* Fixed that records returned from has_and_belongs_to_many associations with ad...David Heinemeier Hansson2006-04-011-1/+21
* Rework table aliasing to account for truncated table aliases. Add smarter ta...Rick Olson2006-03-181-1/+1
* Alias the has_and_belongs_to_many join table on eager includes. closes #4106 ...Rick Olson2006-03-161-0/+4
* fix test_find_in_association_with_options test, tweak other tests affected by...Rick Olson2006-03-161-14/+14