]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/abstract_adapter.rb
Fix most auto-correctable rubocop issues
[rails.git] / config / initializers / abstract_adapter.rb
index f9b711f6ce0f6387efea1dfc8e5e923b21a3aaf6..5613e0d007353abd2a7a5b49b23895adec53f66b 100644 (file)
@@ -2,9 +2,10 @@ if defined?(ActiveRecord::ConnectionAdaptors::AbstractAdapter)
   module ActiveRecord
     module ConnectionAdapters
       class AbstractAdapter
-      protected
+        protected
+
         alias_method :old_log, :log
-  
+
         def log(sql, name)
           if block_given?
             old_log(sql, name) do