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
/
builder
/
belongs_to.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
Confirm a record has not already been destroyed before decrementing
Ben Tucker
2013-05-06
1
-1
/
+3
*
Lookup the class at runtime, not when the association is built
Andrew White
2013-04-24
1
-2
/
+2
*
Revert "Revert "`belongs_to :touch` behavior now touches old association when...
Andrew White
2013-04-24
1
-1
/
+12
*
Revert "`belongs_to :touch` behavior now touches old association when transit...
David Heinemeier Hansson
2013-04-23
1
-12
/
+1
*
Update counter cache when pushing into association
Matthew Robertson
2013-04-21
1
-3
/
+4
*
Avoid an attempt to fetch old record when id was not present in touch callback
Carlos Antonio da Silva
2013-04-04
1
-7
/
+7
*
Use the correct pk field from the reflected class to find the old record
Carlos Antonio da Silva
2013-04-04
1
-1
/
+2
*
Use inspect when writing the foreign key from the reflection
Andrew White
2013-04-05
1
-2
/
+2
*
Merge pull request #9141 from adamgamble/issue-9091
David Heinemeier Hansson
2013-04-03
1
-0
/
+10
|
\
|
*
Modifies belong_to touch callback to touch old associations also #9091
Adam Gamble
2013-03-14
1
-0
/
+10
*
|
Update other counter caches on destroy
Ian Young
2013-03-20
1
-1
/
+1
*
|
If a counter_cache is defined, then using update_attributes and changing
John Wang
2013-03-15
1
-0
/
+20
|
/
*
Fix touching an invalid parent record for belongs_to
Olek Janiszewski
2013-02-26
1
-1
/
+1
*
Use method compilation for association methods
Jon Leighton
2012-08-10
1
-32
/
+25
*
DRY up handling of dependent option
Jon Leighton
2012-08-10
1
-18
/
+2
*
Unprivatise all the things
Jon Leighton
2012-08-10
1
-51
/
+49
*
move dependency logic out of generated methods
Jon Leighton
2012-08-10
1
-5
/
+8
*
Clean up dependent option validation.
Jon Leighton
2012-08-10
1
-1
/
+1
*
load active_support/core_ext/object/inclusion in active_support/rails
Xavier Noria
2012-08-02
1
-1
/
+0
*
Refactor dependency check validation
Carlos Antonio da Silva
2012-08-01
1
-6
/
+4
*
move method for dependent option check
Hrvoje Šimić
2012-08-01
1
-3
/
+3
*
stop using class_attribute where methods/inheritance will suffice.
Jon Leighton
2012-07-13
1
-2
/
+6
*
Removed metaclass from the has_many dependency destroy method. Fixes #2954
Dmitry Polushkin
2011-12-31
1
-2
/
+4
*
avoid warnings
Josh Susser
2011-11-27
1
-3
/
+3
*
association methods are now generated in modules
Josh Susser
2011-11-15
1
-3
/
+3
*
Remove `#among?` from Active Support
Prem Sichanugrist
2011-04-13
1
-1
/
+1
*
Change Object#either? to Object#among? -- thanks to @jamesarosen for the sugg...
David Heinemeier Hansson
2011-04-12
1
-1
/
+1
*
Using Object#in? and Object#either? in various places
Prem Sichanugrist
2011-04-11
1
-1
/
+3
*
Use proper objects to do the work to build the associations (adding methods, ...
Jon Leighton
2011-02-21
1
-0
/
+83