aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations.rb
Commit message (Expand)AuthorAgeFilesLines
* Documentation for recent refinements to association deletionJon Leighton2011-02-071-3/+75
* Support the :dependent option on has_many :through associations. For historic...Jon Leighton2011-02-071-2/+1
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-02-051-1/+1
|\
| * keep options titles consistent to "Options"Gabriel Horner2011-02-031-1/+1
* | Fixing ordering of HABTM association deletion [#6191 state:resolved]Edward Faulkner2011-02-041-1/+1
|/
* Removed support for accessing attributes on a has_and_belongs_to_many join ta...Jon Leighton2011-01-161-6/+0
* Abstract common code from BelongsToAssociation and HasOneAssociation into Sin...Jon Leighton2011-01-161-0/+1
* Document the new create_association! method on one-to-one associationsJon Leighton2011-01-161-1/+9
* Add create_association! for belongs_toJon Leighton2011-01-161-3/+3
* Support for create_association! for has_one associationsJon Leighton2011-01-111-0/+1
* Refactor the code for singular association constructors. This will allow me t...Jon Leighton2011-01-111-8/+13
* It's not necessary to pass the association proxy class around nowJon Leighton2011-01-111-22/+15
* Get rid of set_association_target and association_loaded? as the parts of the...Jon Leighton2011-01-111-12/+0
* DRY up the code which instantiates the association proxyJon Leighton2011-01-111-35/+24
* Document the recent changes to association assignmentJon Leighton2011-01-111-4/+9
* Return value is irrelevant here as the RHS of the assignment is always return...Jon Leighton2011-01-111-1/+0
* Remove incorrect documentation about build_assoc on has_one. This is proven, ...Jon Leighton2011-01-111-2/+1
* For a singular association, it should be build_association, rather than assoc...Jon Leighton2011-01-111-1/+1
* Correctly indent the bullet points under 'One-to-one associations', so that t...Jon Leighton2011-01-111-10/+10
* Not really worth having the HasAssociation module for just a single methodJon Leighton2011-01-071-1/+0
* just use a hash for doing association cachingAaron Patterson2011-01-071-7/+7
* no need for selfAaron Patterson2011-01-061-1/+1
* Remove undocumented feature from has_one where you could pass false as the se...Jon Leighton2011-01-031-8/+3
* When preloading a belongs_to, the target should still be set (to nil) if ther...Jon Leighton2011-01-031-0/+1
* Allow assignment on has_one :through where the owner is a new record [#5137 s...Jon Leighton2011-01-031-11/+12
* Have a proper AssociationReflection#foreign_type method rather than using opt...Jon Leighton2011-01-031-7/+1
* Add documentation for the :foreign_type option on belongs_toJon Leighton2011-01-031-0/+5
* Rename AssociationReflection#primary_key_name to foreign_key, since the optio...Jon Leighton2010-12-311-2/+2
* Get rid of extra_conditions param from configure_dependency_for_has_many. I c...Jon Leighton2010-12-311-9/+3
* Refactor configure_dependency_for_has_many to use AssociationCollection#delet...Jon Leighton2010-12-311-38/+20
* Add a HasAssociation module for common code for has_* associationsJon Leighton2010-12-261-0/+2
* Raise an error for associations which try to go :through a polymorphic associ...Jon Leighton2010-12-231-1/+7
* If a has_many goes :through a belongs_to, and the foreign key of the belongs_...Jon Leighton2010-12-231-1/+5
* Improved strategy for updating a belongs_to association when the foreign key ...Jon Leighton2010-12-231-42/+1
* Revert "Optimize <association>_ids for hm:t with belongs_to source". The opti...Jon Leighton2010-12-231-8/+1
* Don't allow a has_one association to go :through a collection association [#2...Jon Leighton2010-12-231-0/+6
* removing method to prevent warningsAaron Patterson2010-12-081-0/+4
* Setting the id of a belongs_to object updates all referenced objects [#2989 s...Jeff Dean2010-12-081-0/+37
* breaking classes up in to respective filesAaron Patterson2010-11-231-574/+1
* class inheritable attributes is used no more! all internal use of class inher...Josh Kalderimis2010-11-201-6/+7
* use persisted? instead of new_record? wherever possibleDavid Chelimsky2010-11-091-1/+1
* reduce duplication in assiciations #construct()Aaron Patterson2010-11-061-9/+3
* make sure we keep parent records in orderAaron Patterson2010-11-061-6/+6
* only call to_s on the association variable onceAaron Patterson2010-11-051-2/+5
* simplify instantiate in the join parts objectAaron Patterson2010-11-051-8/+7
* index is not used, so removing itAaron Patterson2010-11-051-1/+1
* reduce method calls to the join base objectAaron Patterson2010-11-051-4/+6
* refactoring find_join_associationAaron Patterson2010-10-301-5/+6
* Fix issues when including the same association multiple times and mixing join...Ernie Miller2010-10-301-11/+37
* removing space errorsAaron Patterson2010-10-221-45/+45