# File lib/active_record/locking/optimistic.rb, line 105 def self.extended(base) class <<base alias_method_chain :update_counters, :lock end end