]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/abstract_adapter.rb
Moved strings to locales + Added 'Issues' button + Fixed typo in tests
[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?