aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/associations_test.rb
Commit message (Expand)AuthorAgeFilesLines
* * Continue evolution toward ActiveSupport::TestCase and friends. #10679 [Jos...Jeremy Kemper2008-01-051-7/+7
* Don't unnecessarily load has_many associations in after_update callbacks. Cl...Rick Olson2007-12-281-5/+35
* Ruby 1.9 compat: attribute methodsJeremy Kemper2007-12-271-1/+1
* Ruby 1.9 compat: File.exists\? -> File.exist\? en masse. References #1689 [Pr...Jeremy Kemper2007-12-101-1/+1
* post.comments.reload returns the association rather than the result of load_t...Jeremy Kemper2007-12-101-0/+7
* Fixed that habtm associations should be able to set :select as part of their ...David Heinemeier Hansson2007-12-051-0/+6
* Make reset return nil when using a dangling belongs_to association. Current ...Michael Koziarski2007-11-291-0/+17
* Dynamic finders on association collections respect association :limit. Closes...Jeremy Kemper2007-11-211-0/+30
* Make Dynamic Finders on Association Collections Respect Association :order [p...Michael Koziarski2007-11-211-0/+81
* Make sure that << works on has_many associations on unsaved records. Closes ...Michael Koziarski2007-10-281-0/+7
* Allow association redefinition in subclasses. Closes #9346.Jeremy Kemper2007-10-271-0/+65
* Foxy fixtures. Adapter#disable_referential_integrity. Closes #9981.Jeremy Kemper2007-10-261-1/+1
* Allow find on a has_many association defined with :finder_sql to accept id ar...Marcel Molina2007-10-261-0/+16
* 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