aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations.rb
Commit message (Expand)AuthorAgeFilesLines
...
| * 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
* | Merge branch 'master' into nested_has_many_throughJon Leighton2010-12-121-0/+41
|\|
| * 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
* | Merge branch 'master' into nested_has_many_throughJon Leighton2010-11-271-552/+8
|\|
| * 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
* | Merge branch 'master' into nested_has_many_throughJon Leighton2010-11-171-1/+1
|\|
| * use persisted? instead of new_record? wherever possibleDavid Chelimsky2010-11-091-1/+1
* | Merge branch 'master' into nested_has_many_throughJon Leighton2010-11-081-20/+18
|\|
| * 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
* | Fix naughty trailing whitespaceJon Leighton2010-10-311-49/+49
* | Merge branch 'master' into nested_has_many_throughJon Leighton2010-10-311-11/+38
|\|
| * 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
* | Merge branch 'master' into nested_has_many_throughJon Leighton2010-10-281-16/+16
|\|
| * removing space errorsAaron Patterson2010-10-221-45/+45
| * Delete unused methods in JoinAssociationJon Leighton2010-10-131-8/+0
| * Renaming and formatting changes in JoinDependencyJon Leighton2010-10-131-47/+51
| * Refactor JoinDependency and friends so that a JoinAssociation can produce an ...Jon Leighton2010-10-131-145/+265
* | Fix typoJon Leighton2010-10-191-1/+1
* | Remove obsolete autoloadJon Leighton2010-10-191-1/+0