Questions tagged [turbo]
201 questions
0
votes
2 answers
Rails Turbo render_async: add JWT to async requests
I am using render_async in a Rails app with turbo-rails and am trying to add a JWT to the render_async request header.
I have the following in my application.rb:
RenderAsync.configure do |config|
config.turbo = true
end
and here is an example of…

kg.
- 633
- 1
- 5
- 17
0
votes
0 answers
Understanding turbostat debug mode max turbo output
Does the output of running turbostat --debug show max turbo per core per socket?
below is an example output. If I have say a 2 socket Server does that mean 2 active cores per Socket can boost to 4GHz (4 cores total) or over both sockets - so only 1…

MurrMack
- 579
- 3
- 15
-1
votes
1 answer
Turbo Frame in Rails 7, why is the page specified in the SRC not loading?
I am writing a rails app and making use of turbo frame. I have done a very similar thing in a previous app and didn't have this same problem.
All the content that changes is in a turbo frame called content, so that the sidebar and header are not…
-1
votes
1 answer
turbo_stream_from with multi targets
Is there a way to broadcast a content on several locations?
I would like to update an image which is visible on 2 places of my page.
How can i do, as my frame should have a uniq id. Should I call the broadcast method 2 times and use 2 differents…
-1
votes
2 answers
i want to add default value in select box using turbo-stream in rails 7
I am using ruby 3.1.2 and rails 7.0.3.1, I am updating the select box value using turbo stream, it's updating the value of the select box but not adding default value on it.
app/config/routes.rb
root "dropdown#country"
get "/state", to:…

Rahul Gupta
- 53
- 1
- 1
- 12
-2
votes
1 answer
Why is Turbo Stream not updating unless I add a delay?
Turbo is slow on JavaScript side that I am forced to delay Ruby side. If I don't delay the server response, there are no turbo stream updates on the page. My logs show every turbo stream is rendering and all the jobs get executed and…

Chiara Ani
- 918
- 7
- 25