]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/abstract_adapter.rb
Merge remote-tracking branch 'openstreetmap/pull/1240'
[rails.git] / config / initializers / abstract_adapter.rb
index 5613e0d007353abd2a7a5b49b23895adec53f66b..89d38456745e8fa9492bc9a0800356f432cc7633 100644 (file)
@@ -4,7 +4,7 @@ if defined?(ActiveRecord::ConnectionAdaptors::AbstractAdapter)
       class AbstractAdapter
         protected
 
-        alias_method :old_log, :log
+        alias old_log log
 
         def log(sql, name)
           if block_given?