File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
lib/active_record/connection_adapters/oracle_enhanced Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -125,6 +125,9 @@ Style/DefWithParentheses:
125125Style/MethodDefParentheses :
126126 Enabled : true
127127
128+ Style/ExplicitBlockArgument :
129+ Enabled : true
130+
128131Style/FrozenStringLiteralComment :
129132 Enabled : true
130133 EnforcedStyle : always
Original file line number Diff line number Diff line change @@ -185,8 +185,8 @@ def destroy_using_custom_method
185185 freeze
186186 end
187187
188- def log_custom_method ( *args )
189- self . class . connection . send ( :log , *args ) { yield }
188+ def log_custom_method ( *args , & block )
189+ self . class . connection . send ( :log , *args , & block )
190190 end
191191
192192 alias_method :update_record , :_update_record if private_method_defined? ( :_update_record )
You can’t perform that action at this time.
0 commit comments