aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/associations_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Fix regression where the association would not construct new finder SQL on sa...Jeremy Kemper2007-10-161-0/+10
* Refactor association create and build so before & after callbacks behave cons...Jeremy Kemper2007-10-161-0/+7
* Ensure that 'autosaving' works when associations aren't loaded [Bryan Helmkam...Michael Koziarski2007-10-101-0/+4
* Fix calling .clear on a has_many :dependent=>:delete_all association. [ta...Michael Koziarski2007-10-071-1/+2
* Add attr_readonly to specify columns that are skipped during a normal ActiveR...Rick Olson2007-09-301-0/+18
* Failing counter cache test. References #6896.Jeremy Kemper2007-09-281-0/+18
* Fixed spelling errors (closes #9706) [tarmo/rmm5t]David Heinemeier Hansson2007-09-281-1/+1
* Correctly quote id list for limited eager loading. Closes #7482.Jeremy Kemper2007-09-221-0/+1
* Stop users from calling .create on a has_many / habtm association when the ow...Michael Koziarski2007-09-181-2/+22
* Fix association writer with :dependent => :nullify. Closes #7314.Jeremy Kemper2007-09-141-0/+5
* Remove deprecated functionality from edge rails. Closes #9387 [lifofifo]Michael Koziarski2007-09-031-12/+0
* Change the implementation of ActiveRecord's attribute reader and writer methods:Michael Koziarski2007-08-141-2/+4
* Make habtm respect the :select option. Closes #9207. [Aleksey Kondratenko]Michael Koziarski2007-08-071-0/+7
* Remove deprecated count(conditions=nil, joins=nil) usage. Closes #8993 [lifo...Rick Olson2007-07-161-3/+1
* Change belongs_to so that the foreign_key assumption is taken from the associ...Rick Olson2007-07-161-7/+0
* Define collection singular ids method for has_many :through associations. Clo...Jeremy Kemper2007-06-271-5/+13
* Update tests' use of fixtures for the new collections api. Closes #8726.Jeremy Kemper2007-06-221-7/+6
* Save associated records only if the association is already loaded. Closes #8713.Jeremy Kemper2007-06-211-1/+9
* Remove deprecated find_first and find_all.Jeremy Kemper2007-06-111-30/+16
* Remove deprecated push_with_attributes.Jeremy Kemper2007-06-111-152/+112
* Fixtures: people(:technomancy, :josh) returns both fixtures. Closes #7880.Jeremy Kemper2007-06-051-2/+2
* 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