You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ref: https://bugs.ruby-lang.org/issues/15554
Ruby 3.4 now warns when passing a block to a method that
never expects one.
In the case of rendered template, a block is always passed for
some engines that do expect one, but some never expect it.
We can silence that warning by declaring an anonymous block.
0 commit comments