aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* Ruby 1.9 compat: fix warnings, shadowed block vars, and unitialized instance ...Jeremy Kemper2007-12-223-16/+35
* Ensure that the :uniq option for has_many :through associations retains the o...Rick Olson2007-12-111-1/+2
* post.comments.reload returns the association rather than the result of load_t...Jeremy Kemper2007-12-101-14/+15
* Fixed that habtm associations should be able to set :select as part of their ...David Heinemeier Hansson2007-12-051-2/+2
* Fix typos (closes #10378)David Heinemeier Hansson2007-12-051-1/+1
* Make reset return nil when using a dangling belongs_to association. Current ...Michael Koziarski2007-11-291-1/+1
* Dynamic finders on association collections respect association :limit. Closes...Jeremy Kemper2007-11-213-3/+8
* Make Dynamic Finders on Association Collections Respect Association :order [p...Michael Koziarski2007-11-213-3/+4
* Fix HasManyThrough Association so it uses :conditions on the HasMany Associat...Rick Olson2007-11-111-1/+2
* Make sure that << works on has_many associations on unsaved records. Closes ...Michael Koziarski2007-10-281-0/+1
* Fix has_many :through delete with custom foreign keys. Closes #6466.Jeremy Kemper2007-10-271-8/+14
* Allow find on a has_many association defined with :finder_sql to accept id ar...Marcel Molina2007-10-261-1/+1
* Refactor association create and build so before & after callbacks behave cons...Jeremy Kemper2007-10-163-38/+44
* Alias association #build to #new so it behaves predictably. Closes #8787.Jeremy Kemper2007-10-151-0/+1
* Fix calling .clear on a has_many :dependent=>:delete_all association. [ta...Michael Koziarski2007-10-071-1/+1
* Make size for has_many :through use counter cache if it exists. Closes #9734...Rick Olson2007-09-301-1/+11
* Fixed spelling errors (closes #9706) [tarmo/rmm5t]David Heinemeier Hansson2007-09-281-3/+3
* Removed unnecessary or statement (closes #7158) [richcollins]David Heinemeier Hansson2007-09-221-1/+1
* Removed unused @join_sql reference (closes #9174) [danger]David Heinemeier Hansson2007-09-221-1/+1
* Added ActiveRecord::Base#to_json/from_json (currently does not support :inclu...David Heinemeier Hansson2007-09-201-1/+2
* Stop users from calling .create on a has_many / habtm association when the ow...Michael Koziarski2007-09-182-3/+29
* Fix association writer with :dependent => :nullify. Closes #7314.Jeremy Kemper2007-09-141-8/+11
* Formatting, grammar and spelling fixes for the associations documentation. [s...Michael Koziarski2007-08-285-7/+7
* Don't clobber :includes passed to count on has_many association. Closes #9175...Michael Koziarski2007-08-161-1/+1
* Make sure has_many associations honour :include when counting. Closes #9167 [...Michael Koziarski2007-08-161-1/+1
* Make habtm respect the :select option. Closes #9207. [Aleksey Kondratenko]Michael Koziarski2007-08-071-1/+2
* Ensure that has_many :through associations use a count query instead of loadi...Rick Olson2007-07-251-0/+7
* Refactored in use of extract_options! (closes #9079) [josh]David Heinemeier Hansson2007-07-244-7/+3
* Fix #count on a has_many :through association so that it recognizes the :uniq...Rick Olson2007-07-201-0/+10
* Remove deprecated count(conditions=nil, joins=nil) usage. Closes #8993 [lifo...Rick Olson2007-07-161-1/+1
* Make create! on a has_many :through association return the association objec...Michael Koziarski2007-07-111-1/+2
* Move from select * to select tablename.* to avoid clobbering IDs. Closes #888...Michael Koziarski2007-07-071-0/+1
* Remove deprecated find_first and find_all.Jeremy Kemper2007-06-111-19/+0
* Remove deprecated push_with_attributes.Jeremy Kemper2007-06-111-22/+5
* with_scope is protected. Closes #8524.Jeremy Kemper2007-05-303-7/+7
* Sanitize Base#inspect. Closes #8392.Jeremy Kemper2007-05-181-1/+2
* Improve Performance of calling create on has_many :through associations by av...Michael Koziarski2007-04-261-7/+5
* Allow a polymorphic :source for has_many :through associations. Closes #7143...Rick Olson2007-03-131-1/+11
* Fix has_many :through << with custom foreign keys. Closes #6466, #7153.Jeremy Kemper2007-03-051-1/+1
* Aggregate reflection klass works with nested :class_nameJeremy Kemper2007-01-141-1/+1
* dry up some duplicated codeJamis Buck2007-01-111-37/+21
* treat create! like create and make sure the target is loaded firstJamis Buck2007-01-111-0/+1
* fix regression in has_one#create, that caused instances thus created to be or...Jamis Buck2007-01-111-0/+4
* Pushing a record on an association collection doesn't unnecessarily load all ...Jeremy Kemper2006-12-211-4/+3
* Remove side effects of [5684]Tobias Lütke2006-12-082-4/+4
* Consolidated different create and create! versions to call through to the bas...Tobias Lütke2006-12-062-20/+42
* AssociationCollection#any? takes a block [Michael Schoen]Jeremy Kemper2006-12-051-3/+7
* Add AssociationCollection#create! to be consistent with AssociationCollection...Tobias Lütke2006-12-051-8/+15
* Added counter optimization for AssociationCollection#any? so person.friends.a...David Heinemeier Hansson2006-12-051-0/+4
* Simplify association proxy implementation by factoring construct_scope out of...Jeremy Kemper2006-11-193-30/+23