kenneth-kt / activerecord-delay_touching Goto Github PK
View Code? Open in Web Editor NEWThis project forked from godaddy/activerecord-delay_touching
Batch up your ActiveRecord "touch" operations for better performance. ActiveRecord::Base.delay_touching do ... end. When "end" is reached, all accumulated "touch" calls will be consolidated into as few database round trips as possible.
Home Page: https://rubygems.org/gems/activerecord-delay_touching
License: MIT License