aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* 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
* Don't inspect unloaded associations. Closes #2905.Jeremy Kemper2006-11-101-0/+4
* update deprecations to include alternative methods (where available)Jamis Buck2006-10-242-3/+3
* Fix has_many :through to add the appropriate conditions when going through an...Rick Olson2006-10-161-2/+3
* Add #delete support to has_many :through associations. Closes #6049 [Martin ...Rick Olson2006-10-091-0/+18
* Removes the ability for eager loaded conditions to be interpolated, since the...Rick Olson2006-10-091-1/+1
* The has_many create method works with polymorphic associations. Closes #6361.Jeremy Kemper2006-10-081-4/+5
* Deprecation: count class method should be called with an options hash rather ...Jeremy Kemper2006-09-261-1/+1
* has_one associations with a nil target may be safely marshaled. Closes #6279.Jeremy Kemper2006-09-261-0/+2
* Deprecation tests. Remove warnings for dynamic finders and for the foo_count ...Jeremy Kemper2006-09-151-0/+2
* Backed out of new_record? to new? transformation as it would screw up existin...David Heinemeier Hansson2006-09-058-26/+26
* Deprecated ActiveRecord::Base.new_record? in favor of ActiveRecord::Base.new?...David Heinemeier Hansson2006-09-058-26/+26
* Rename quote to quote_value so the name can be used in AR models. #3628 [Koz]Michael Koziarski2006-09-044-5/+5
* has_many :through conditions are sanitized by the associating class. Closes #...Jeremy Kemper2006-09-012-3/+3
* Pushing a record onto a has_many :through sets the association's foreign key ...Jeremy Kemper2006-08-201-1/+2
* unbraindeadify addition to has_many :throughJeremy Kemper2006-08-193-9/+17
* Pushing a record onto a has_many :through sets the association's foreign key ...Jeremy Kemper2006-08-191-5/+13
* Add records to has_many :through using <<, push, and concat by creating the a...Jeremy Kemper2006-08-181-29/+69
* Fixed a bug which would cause .save to fail after trying to access a empty ha...Tobias Lütke2006-08-161-10/+9
* Cache nil results for has_one associations so multiple calls don't call the d...Rick Olson2006-08-081-2/+2
* Formally deprecate rich associations. [Koz]Michael Koziarski2006-08-051-1/+4
* Calculate sum with SQL, not Enumerable on HasManyThrough Associations. [Dan P...Rick Olson2006-07-311-1/+6
* Allow #count through a has_many association to accept :include. [Dan Peterson]Rick Olson2006-07-241-0/+1