]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/abstract_adapter.rb
WIP diary comment subscriptions
[rails.git] / config / initializers / abstract_adapter.rb
index 7288488a6dcd63aec4d3c2a8237fe69ba92ac029..89d38456745e8fa9492bc9a0800356f432cc7633 100644 (file)
@@ -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?