aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* 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
* fix association exception messages, fix them so the error messages actually d...Rick Olson2006-07-201-1/+1
* Add AssociationCollection#sum since the method_missing invokation has been sh...Nicholas Seckar2006-06-251-0/+5
* Fixed that has_many.create ended up with duplicate objects (closes #5250) [da...David Heinemeier Hansson2006-06-031-1/+1
* delegate AssociationProxy#to_param to the association target so that associat...Rick Olson2006-06-011-1/+2
* Fix the has_and_belongs_to_many #create doesn't populate the join for new rec...Rick Olson2006-05-291-0/+11
* Provide Association Extensions access to the instance that the association is...Rick Olson2006-05-281-1/+13
* Minor style tweaksDavid Heinemeier Hansson2006-05-212-8/+4
* Fixed that has_many collections shouldn't load the entire association to do b...David Heinemeier Hansson2006-05-212-3/+35
* uniq preserves order. References [4325].Jeremy Kemper2006-05-071-1/+8
* Allow :uniq => true with has_many :through associations.Jeremy Kemper2006-05-064-36/+32
* Raise error when trying to add to a has_many :through association. Use the J...Rick Olson2006-04-251-1/+8
* Fix the HasManyAssociation#count method so it uses the new ActiveRecord::Base...Rick Olson2006-04-191-4/+7
* Allow multiple association extensions with :extend option (closes #4666) [Jo...Rick Olson2006-04-111-1/+1
* Fix HasManyAssociation#find bugs when :finder_sql is set (closes #4600) [lagr...David Heinemeier Hansson2006-04-061-1/+1
* Added descriptive error messages for invalid has_many :through associations: ...Rick Olson2006-04-051-10/+13
* Fixed that AssociationCollection#delete_all should work even if the records o...Florian Weber2006-04-031-0/+1
* Fixed that records returned from has_and_belongs_to_many associations with ad...David Heinemeier Hansson2006-04-011-3/+9
* Do not implicitly mark recordss of has_many :through as readonly but do mark ...Marcel Molina2006-03-301-1/+1