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
*
Remove support to activerecord-deprecated_finders
Rafael Mendonça França
2015-01-02
1
-4
/
+2
*
Merge pull request #12450 from iantropov/master
Rafael Mendonça França
2014-06-27
1
-0
/
+5
|
\
|
*
Fix bug, when ':dependent => :destroy' option violates foreign key constraint...
Ivan Antropov
2013-10-26
1
-0
/
+4
*
|
Prevented belongs_to: touch propagating up if there are no changes being saved
Brock Trappitt
2014-05-21
1
-1
/
+1
*
|
Hide BelongsToAssociation#increment_counters and #decrement_counters
Jean Boussier
2014-04-15
1
-1
/
+0
*
|
Use inheritance chain instead of callbacks to increment counter caches after ...
Jean Boussier
2014-04-14
1
-16
/
+0
*
|
Use inheritance chain instead of callbacks to increment counter caches after ...
Jean Boussier
2014-04-14
1
-12
/
+1
*
|
Make counter cache decrementation on destroy idempotent
Jean Boussier
2014-04-13
1
-4
/
+5
*
|
On destroying do not touch destroyed belongs to association.
Paul Nikitochkin
2013-12-23
1
-1
/
+1
*
|
Revert the whole refactoring in the association builder classes.
Rafael Mendonça França
2013-12-11
1
-2
/
+4
*
|
Bring back the valid_options class accessor
Rafael Mendonça França
2013-12-11
1
-1
/
+1
*
|
polymorphic belongs_to association with touch: true updates old record correctly
Severin Schoepke
2013-12-05
1
-1
/
+7
*
|
Raise `ArgumentError` when `has_one` is used with `counter_cache`
Godfrey Chan
2013-11-29
1
-1
/
+1
*
|
Method visibility will not make difference here
Rafael Mendonça França
2013-10-09
1
-2
/
+0
*
|
Move macro to class level
Rafael Mendonça França
2013-10-09
1
-1
/
+1
*
|
Make valid_options a class method
Rafael Mendonça França
2013-10-09
1
-1
/
+1
*
|
Push define_accessors to class level since we don't need anythig from
Rafael Mendonça França
2013-10-08
1
-2
/
+2
*
|
Move add_counter_cache_methods to class level
Rafael Mendonça França
2013-10-08
1
-2
/
+2
*
|
we can define callbacks without a builder instance
Aaron Patterson
2013-10-02
1
-3
/
+3
*
|
push methods that don't depend on the instance to the class
Aaron Patterson
2013-10-02
1
-4
/
+4
*
|
decouple belongs_to callback definition from the builder instance.
Aaron Patterson
2013-10-02
1
-4
/
+4
*
|
valid_options doesn't depend on the instance, so push it to the class
Aaron Patterson
2013-10-02
1
-1
/
+1
*
|
association builder is no longer needed for counter cache, so remove it
Aaron Patterson
2013-10-02
1
-7
/
+6
*
|
push constructable? on to the reflection
Aaron Patterson
2013-10-02
1
-6
/
+2
*
|
name is on the reflection, so just use the reflection
Aaron Patterson
2013-10-02
1
-2
/
+2
|
/
*
remove dependency on @model when defining callbacks
Aaron Patterson
2013-08-01
1
-5
/
+5
*
extract more mutations to the caller
Aaron Patterson
2013-08-01
1
-7
/
+6
*
separate some mutations from reflection construction
Aaron Patterson
2013-08-01
1
-1
/
+5
*
#11288: Removed duplicated touching
Paul Nikitochkin
2013-07-05
1
-1
/
+1
*
stop adding a new method for touch callbacks
Aaron Patterson
2013-06-11
1
-29
/
+21
*
push the touch method outside the eval
Aaron Patterson
2013-06-11
1
-13
/
+34
*
remove unused variable
Aaron Patterson
2013-06-11
1
-1
/
+0
*
check whether the association is constructible rather than checking constants
Aaron Patterson
2013-06-11
1
-3
/
+3
*
use attribute methods for finding key values rather than generating method names
Aaron Patterson
2013-06-11
1
-3
/
+3
*
push belongs_to counter cache method to a single method
Aaron Patterson
2013-06-11
1
-17
/
+18
*
push before_destroy counter cache method to a single method
Aaron Patterson
2013-06-11
1
-12
/
+17
*
remove evaled belongs_to counter cache method
Aaron Patterson
2013-06-11
1
-8
/
+22
*
adding callbacks should be private
Aaron Patterson
2013-06-11
1
-4
/
+6
*
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
|
/
[next]