Open rubys opened 6 months ago
I am using broadcast_append_later_to, but I am experiencing the same issue.
It seems that the problem is caused by a change in the logic of the broadcast_rendering_with_defaults method.
Can someone explain why compact is used in this code?
I am experiencing the same issue after upgrading to 2.0.5.
Upgrading a rails 7.1 project that uses
broadcast_replace_to
to turbo-rails 2/turbo 8, resulted in the following test failure:In my case, setting
locals: {action: false}
will achieve the desired result, so I have a workaround, but previously I could set a local variable tonil
. I've yet to find any docs that indicate that this is an intentional change in behavior.If it helps, doing a git bisect identified the following as the change that broke this:
And links to the code that this change broke:
While turbo 8 provides other means by which this could be implemented, my impression was that this should continue to work.