Questions tagged [turbo]
201 questions
0
votes
0 answers
Rails upgrade from Turbolinks to Turbo
I'm trying to upgrade my Rails app (v6.1.7.4) from Turbolinks to Turbo.
I use sprockets (4.2.0).
I've gone through a path of including importmap.json to my config folder and trying to utilise my already existing asset pipeline with…

hybridspyda
- 21
- 1
- 4
0
votes
0 answers
Jquery Datatables in rails 7 application requires hard refresh after first navigation
This is my application.html.erb file

Muhammad Ans
- 157
- 8
0
votes
0 answers
turborepo package has no update or ts namespace no work
a turborepo projexc:
apps
web
packages
api
types
common
intex.tsx
in my api/types, I add 'match' interface
api/types/index.ts
declare namespace API {
export interface Item {...}
export interface Match {...}
}
in common/index.tsx…

Andersen
- 1
- 1
0
votes
1 answer
Trying to understrand how Turbo works in Ruby on Rails
I created a small example in Ruby on Rails trying to understand how Turbo works in Ruby on Rails, this is what I did:
This is the index.html.erb, the idea here is to have a form with the list of posts created below
<%= notice…

FerCib
- 3
- 1
0
votes
0 answers
turbo frame tag for order_item quantity update rendering text on submission
I am trying to build a frame_tag where only the order quantity will be updated when the add/remove order item button is clicked.
I am building a menu system and I have the add product to order items and remove product from order items.
In between…

Luke Littler
- 1
- 2
0
votes
0 answers
Rails 7 turbo stream dynamic table won't get parent table style
Following a GoRails episode Using Rails 7.0.4.3 and Bootstrap 5, I created a turbo_frame dynamic table that adds rows when required to create a document (Quotation with different services to quote) It works fine, BUT the parent table style is not…

Luis Flores
- 91
- 3
- 14
0
votes
1 answer
Need help understanding turbo in rails 7
Everything all around is just acting weird. I can create todo objects but they are only displayed after I refresh, I have had this same issue on 2 separate occasions. I know that I am using the variables wrong but with so much going on it's hard for…

gage
- 1
0
votes
0 answers
The change is gone in editing page when remove pictures wuth turbo_frame
I made some change in edit page and then remove some pictures without refreshing page since turbo_frame, and if I click "update" the page refresh and the change in text are gone, it only actually update if I click for second time. For example, the…

swaeetpotato
- 1
- 3
0
votes
0 answers
How to use turbo stream to replace just a single line html on form submission without using partial
I am new to Rails 7 with not much experience with turbo-stream, stimulus:
I have elements listed in where last column has a form that just contains a checkbox.
I want to submit the form on checkbox change, push an alert after submission.…