File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3299,7 +3299,7 @@ condition](#safe-assignment-in-condition).
32993299 if 'String'.respond_to?(unsafe_method)
33003300 class_eval <<-EOT, __FILE__, __LINE__ + 1
33013301 def #{unsafe_method}(*params, &block) # def capitalize(*params, &block)
3302- to_str.#{unsafe_method}(*args , &block) # to_str.capitalize(*args , &block)
3302+ to_str.#{unsafe_method}(*params , &block) # to_str.capitalize(*params , &block)
33033303 end # end
33043304
33053305 def #{unsafe_method}!(*params) # def capitalize!(*params)
@@ -3337,7 +3337,7 @@ condition](#safe-assignment-in-condition).
33373337 # good
33383338 def method_missing?(meth, *params, &block)
33393339 if /^find_by_(?<prop>.*)/ =~ meth
3340- find_by(prop, *args , &block)
3340+ find_by(prop, *params , &block)
33413341 else
33423342 super
33433343 end
You can’t perform that action at this time.
0 commit comments