Skip to main content
0 votes
1 answer
100 views

I have a button_to tag, with data: {turbo_method: :post} This works. When I change it to link_to it breaks with Can't verify CSRF token authenticity. Is this a bug? It seems that it should work ...
Mitch VanDuyn's user avatar
1 vote
1 answer
173 views

In my rails 8 app I followed the Bootstrap Getting Started instructions to pull in bootstrap version 5.3.7 via the link tag: I put the following in the head tag of application.html.erb: <link href=...
Neil's user avatar
  • 4,740
1 vote
1 answer
176 views

I'm a veteran programmer (C# mainly) but recently I've been dabbling with Ruby on Rails (7 to be specific). I've built a small authenticated app with a logout button. During my local testing, I would ...
Ka Wai Cheung's user avatar
0 votes
1 answer
158 views

// app/javascript/application.js import "@hotwired/turbo-rails" import "controllers" import "trix" import "@rails/actiontext" import Rails from "@rails/ujs&...
Steven's user avatar
  • 13
0 votes
0 answers
157 views

In the application, when creating a feature, it was necessary to add hotwired/turbo-rails. // app/javascript/application.js import "@hotwired/turbo-rails" import "controllers" ...
Steven's user avatar
  • 13
0 votes
1 answer
58 views

I have the following setup: Rails 7 app, Turbolinks (loading/compiling via sprockets) local dev environment -> localhost staging on Heroku -> appstaging.herokuapp.com production on Heroku (1st ...
user2148956's user avatar
0 votes
1 answer
243 views

I have a rails 7 app and this is my package.json file: { "name": "app", "private": true, "dependencies": { "@fortawesome/fontawesome-free": ...
Dev's user avatar
  • 477
0 votes
1 answer
74 views

I have an app built using Ruby 3.3, Rails 7 with import map and dart-sass for my asset-pipeline, the application uses bootstrap for css and coreui\coreui-admin as FE template. Saying that my error is ...
Guilherme Caixeta's user avatar
0 votes
0 answers
78 views

I follow this reference Delete link sends Get request instead of Delete Rails 7 But looks like It is not working for me I have this link inside a turbo_frame <%= link_to t("delete"), ...
nonyck's user avatar
  • 81
0 votes
2 answers
465 views

here is my comment controller code def create @comment = current_user.comments.new(comment_params) @feed = Feed.find(params[:comment][:feed_id]) @comment.commentable = @feed @...
user24471549's user avatar
0 votes
0 answers
598 views

Rails 7.1.3 I want to offer a file download to the user with either a button_to or a link_to. View: <%= button_to "Download Cat Photo", controller: "my_cont", action: "...
newser's user avatar
  • 1
1 vote
2 answers
76 views

I have an index page that shows multiple shipment cards. I want to wrap each of these shipments in a link_to that will visit the show page of the shipment. For some reason, when I inspect the HTML in ...
UrGirlLumi's user avatar
1 vote
0 answers
57 views

I have been tasked with creating an unsaved changes alert in a form partial for a Ruby on Rails app (full MVC architecture). While not new to Rails, I am new to Views, turbolinks, and jquery and have ...
ryanosull's user avatar
0 votes
1 answer
542 views

I am using Rails 7 with the default turbo installation. I also want to use Materialize CSS and jQuery. The jQuery $(document).ready... functions work on first page load but not ever after. This is a ...
Boenne's user avatar
  • 616
0 votes
1 answer
268 views

I have a rails app using turbo. My live chat app breaks on any page navigation as the elements created for it are removed as the DOM refreshes. Is there a generally accepted solution to this?
Honza's user avatar
  • 4,429

15 30 50 per page
1
2 3 4 5
65