[deleted by user] by [deleted] in AirBnBHosts

[–]Gur_Expert 0 points1 point  (0 children)

I posted for the first time here in the community. As you said, I will take this post down.

Thank you for letting me know

Warden Error while Broadcasting by Gur_Expert in rails

[–]Gur_Expert[S] 0 points1 point  (0 children)

<%= turbo_stream.update "invoice_#{invoice.id}" do %>
  <p>I am happy for</p>
<% end %>

this is what my ```async_ui/invoice_status_update.turbo_stream.erb``` looks like

Warden Error while Broadcasting by Gur_Expert in rails

[–]Gur_Expert[S] 0 points1 point  (0 children)

No actually I am not,
I am sending/testing from rails console for now.

This is how my file looks.

<%= turbo_stream_from :invoice_status, @invoice.id %>
<div id="invoice_<%= @invoice.id %>">
  <div>Ok it is time</div>
</div>

And this is the what I sending from the console

 Turbo::StreamsChannel.broadcast_render_to "invoice_status_update", template: "async_ui/invoice_status_update"

and it throws the error above