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:
125
125
Style/MethodDefParentheses :
126
126
Enabled : true
127
127
128
+ Style/ExplicitBlockArgument :
129
+ Enabled : true
130
+
128
131
Style/FrozenStringLiteralComment :
129
132
Enabled : true
130
133
EnforcedStyle : always
Original file line number Diff line number Diff line change @@ -185,8 +185,8 @@ def destroy_using_custom_method
185
185
freeze
186
186
end
187
187
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 )
190
190
end
191
191
192
192
alias_method :update_record , :_update_record if private_method_defined? ( :_update_record )
You can’t perform that action at this time.
0 commit comments