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
*
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
*
drying up construct_association
Aaron Patterson
2010-09-21
1
-15
/
+15
*
dry up some conditionals
Aaron Patterson
2010-09-21
1
-3
/
+4
*
fixing case / when indentation
Aaron Patterson
2010-09-21
1
-19
/
+19
*
fix case / when indentation
Aaron Patterson
2010-09-21
1
-18
/
+18
*
avoid a hash lookup
Aaron Patterson
2010-09-21
1
-2
/
+2
*
refacoring duplicate code. <3 <3 <3
Aaron Patterson
2010-09-21
1
-2
/
+3
*
this reject can be replaced with compact
Aaron Patterson
2010-09-21
1
-1
/
+1
*
removing unused code
Aaron Patterson
2010-09-21
1
-2
/
+1
*
remove some repeated code
Aaron Patterson
2010-09-21
1
-2
/
+2
*
break up giant method
Aaron Patterson
2010-09-21
1
-62
/
+72
*
removing lolinject
Aaron Patterson
2010-09-21
1
-1
/
+1
*
remove join table rows before removing owner row for habtm associations, fixe...
Hemant Kumar
2010-09-21
1
-1
/
+1
*
providing arel with column information when possible [#5392 state:resolved]
Aaron Patterson
2010-09-21
1
-3
/
+10
*
Use new finders syntax in docs.
Emilio Tagua
2010-09-01
1
-1
/
+1
*
lifecycle should be two words, life cycle
Jaime Iniesta
2010-08-26
1
-1
/
+1
*
Deletes trailing whitespaces (over text files only find * -type f -exec sed '...
Santiago Pastorino
2010-08-14
1
-172
/
+172
*
converting to a symbol is not necessary
Aaron Patterson
2010-08-13
1
-1
/
+1
*
Removing most of the symbol to proc usage in Active Record
Prem Sichanugrist
2010-08-13
1
-6
/
+6
[next]