class SomeController < ApplicationController
def some_action
SomeCommand.call do
on(:something) do
some_method_with_kwargs(yeet:)
end
end
end
private
def some_method_with_kwargs(yeet:); end
end
Which doesn't work. This uber small pr solves that. Also doesn't seem to break anything
@andypike let me know if I should add tests for this or smth
Use case
Tried this today:
Which doesn't work. This uber small pr solves that. Also doesn't seem to break anything
@andypike let me know if I should add tests for this or smth