X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/34e3e51456774127d43408b7ab65c24f41373f62..443080d7b05b5e2cc3310699f5e9d5edde010aca:/config/initializers/abstract_adapter.rb?ds=inline diff --git a/config/initializers/abstract_adapter.rb b/config/initializers/abstract_adapter.rb index 7288488a6..89d384567 100644 --- a/config/initializers/abstract_adapter.rb +++ b/config/initializers/abstract_adapter.rb @@ -2,8 +2,9 @@ if defined?(ActiveRecord::ConnectionAdaptors::AbstractAdapter) module ActiveRecord module ConnectionAdapters class AbstractAdapter - protected - alias_method :old_log, :log + protected + + alias old_log log def log(sql, name) if block_given?