aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record.rb
diff options
context:
space:
mode:
authorArthur Neves <arthurnn@gmail.com>2015-03-13 13:14:55 -0400
committerArthur Neves <arthurnn@gmail.com>2015-04-08 13:31:28 -0400
commit89713897830cabe49658755ddd673bbdb0a64f11 (patch)
tree2239cd3e0ccf380ea7117ad2458a75845acface2 /activerecord/lib/active_record.rb
parent67c2deeb4be58f9f4c24f32400d41bdd355021f9 (diff)
downloadrails-89713897830cabe49658755ddd673bbdb0a64f11.tar.gz
rails-89713897830cabe49658755ddd673bbdb0a64f11.tar.bz2
rails-89713897830cabe49658755ddd673bbdb0a64f11.zip
Batch touch parent records
[fixes #18606] Make belongs_to use touch over touch_later when running the callbacks. Add more tests and small method rename Thanks Jeremy for the feedback.
Diffstat (limited to 'activerecord/lib/active_record.rb')
-rw-r--r--activerecord/lib/active_record.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/lib/active_record.rb b/activerecord/lib/active_record.rb
index 58a4694880..1844b29ccb 100644
--- a/activerecord/lib/active_record.rb
+++ b/activerecord/lib/active_record.rb
@@ -49,6 +49,7 @@ module ActiveRecord
autoload :ModelSchema
autoload :NestedAttributes
autoload :NoTouching
+ autoload :TouchLater
autoload :Persistence
autoload :QueryCache
autoload :Querying