index
:
rails.git
3-2-stable-for-hmno
master
Mirror of official rails repo with custom fixes.
Harald Eilertsen
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
activerecord
/
lib
/
active_record
/
associations.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
Removed support for accessing attributes on a has_and_belongs_to_many join ta...
Jon Leighton
2011-01-16
1
-6
/
+0
*
Abstract common code from BelongsToAssociation and HasOneAssociation into Sin...
Jon Leighton
2011-01-16
1
-0
/
+1
*
Document the new create_association! method on one-to-one associations
Jon Leighton
2011-01-16
1
-1
/
+9
*
Add create_association! for belongs_to
Jon Leighton
2011-01-16
1
-3
/
+3
*
Support for create_association! for has_one associations
Jon Leighton
2011-01-11
1
-0
/
+1
*
Refactor the code for singular association constructors. This will allow me t...
Jon Leighton
2011-01-11
1
-8
/
+13
*
It's not necessary to pass the association proxy class around now
Jon Leighton
2011-01-11
1
-22
/
+15
*
Get rid of set_association_target and association_loaded? as the parts of the...
Jon Leighton
2011-01-11
1
-12
/
+0
*
DRY up the code which instantiates the association proxy
Jon Leighton
2011-01-11
1
-35
/
+24
*
Document the recent changes to association assignment
Jon Leighton
2011-01-11
1
-4
/
+9
*
Return value is irrelevant here as the RHS of the assignment is always return...
Jon Leighton
2011-01-11
1
-1
/
+0
*
Remove incorrect documentation about build_assoc on has_one. This is proven, ...
Jon Leighton
2011-01-11
1
-2
/
+1
*
For a singular association, it should be build_association, rather than assoc...
Jon Leighton
2011-01-11
1
-1
/
+1
*
Correctly indent the bullet points under 'One-to-one associations', so that t...
Jon Leighton
2011-01-11
1
-10
/
+10
*
Not really worth having the HasAssociation module for just a single method
Jon Leighton
2011-01-07
1
-1
/
+0
*
just use a hash for doing association caching
Aaron Patterson
2011-01-07
1
-7
/
+7
*
no need for self
Aaron Patterson
2011-01-06
1
-1
/
+1
*
Remove undocumented feature from has_one where you could pass false as the se...
Jon Leighton
2011-01-03
1
-8
/
+3
*
When preloading a belongs_to, the target should still be set (to nil) if ther...
Jon Leighton
2011-01-03
1
-0
/
+1
*
Allow assignment on has_one :through where the owner is a new record [#5137 s...
Jon Leighton
2011-01-03
1
-11
/
+12
*
Have a proper AssociationReflection#foreign_type method rather than using opt...
Jon Leighton
2011-01-03
1
-7
/
+1
*
Add documentation for the :foreign_type option on belongs_to
Jon Leighton
2011-01-03
1
-0
/
+5
*
Rename AssociationReflection#primary_key_name to foreign_key, since the optio...
Jon Leighton
2010-12-31
1
-2
/
+2
*
Get rid of extra_conditions param from configure_dependency_for_has_many. I c...
Jon Leighton
2010-12-31
1
-9
/
+3
*
Refactor configure_dependency_for_has_many to use AssociationCollection#delet...
Jon Leighton
2010-12-31
1
-38
/
+20
*
Add a HasAssociation module for common code for has_* associations
Jon Leighton
2010-12-26
1
-0
/
+2
*
Raise an error for associations which try to go :through a polymorphic associ...
Jon Leighton
2010-12-23
1
-1
/
+7
*
If a has_many goes :through a belongs_to, and the foreign key of the belongs_...
Jon Leighton
2010-12-23
1
-1
/
+5
*
Improved strategy for updating a belongs_to association when the foreign key ...
Jon Leighton
2010-12-23
1
-42
/
+1
*
Revert "Optimize <association>_ids for hm:t with belongs_to source". The opti...
Jon Leighton
2010-12-23
1
-8
/
+1
*
Don't allow a has_one association to go :through a collection association [#2...
Jon Leighton
2010-12-23
1
-0
/
+6
*
removing method to prevent warnings
Aaron Patterson
2010-12-08
1
-0
/
+4
*
Setting the id of a belongs_to object updates all referenced objects [#2989 s...
Jeff Dean
2010-12-08
1
-0
/
+37
*
breaking classes up in to respective files
Aaron Patterson
2010-11-23
1
-574
/
+1
*
class inheritable attributes is used no more! all internal use of class inher...
Josh Kalderimis
2010-11-20
1
-6
/
+7
*
use persisted? instead of new_record? wherever possible
David Chelimsky
2010-11-09
1
-1
/
+1
*
reduce duplication in assiciations #construct()
Aaron Patterson
2010-11-06
1
-9
/
+3
*
make sure we keep parent records in order
Aaron Patterson
2010-11-06
1
-6
/
+6
*
only call to_s on the association variable once
Aaron Patterson
2010-11-05
1
-2
/
+5
*
simplify instantiate in the join parts object
Aaron Patterson
2010-11-05
1
-8
/
+7
*
index is not used, so removing it
Aaron Patterson
2010-11-05
1
-1
/
+1
*
reduce method calls to the join base object
Aaron Patterson
2010-11-05
1
-4
/
+6
*
refactoring find_join_association
Aaron Patterson
2010-10-30
1
-5
/
+6
*
Fix issues when including the same association multiple times and mixing join...
Ernie Miller
2010-10-30
1
-11
/
+37
*
removing space errors
Aaron Patterson
2010-10-22
1
-45
/
+45
*
Delete unused methods in JoinAssociation
Jon Leighton
2010-10-13
1
-8
/
+0
*
Renaming and formatting changes in JoinDependency
Jon Leighton
2010-10-13
1
-47
/
+51
*
Refactor JoinDependency and friends so that a JoinAssociation can produce an ...
Jon Leighton
2010-10-13
1
-145
/
+265
*
avoid a proc object
Aaron Patterson
2010-09-22
1
-1
/
+1
*
avoid creating a range object
Aaron Patterson
2010-09-22
1
-1
/
+1
[next]