dhh pushed to main in hotwired/turbo-rails
Use Turbo in your Ruby on Rails app. Contribute to hotwired/turbo-rails development by creating an account on GitHub.
Use Turbo in your Ruby on Rails app. Contribute to hotwired/turbo-rails development by creating an account on GitHub.
Without this, turbo-rails inadvertently forces Rails.application.key_generator to use SHA1, rather than the Rails 7 default. Fixes #325
This is a nasty one that took some debugging, but essentially we discovered that when we added turbo-rails it signed everyone out. The reaso
Provide possibility to opt out Stimulus assets from precompilation list like Turbo does. https://github.com/hotwired/turbo-rails/blob/main/l
Use Stimulus in your Ruby on Rails app. Contribute to hotwired/stimulus-rails development by creating an account on GitHub.
What's Changed Add support [formmethod] overrides to _method by @seanpdoyle in #239 Add allowance for rendering to be passed so that we can
Use Turbo in your Ruby on Rails app. Contribute to hotwired/turbo-rails development by creating an account on GitHub.
Use Turbo in your Ruby on Rails app. Contribute to hotwired/turbo-rails development by creating an account on GitHub.
Use Turbo in your Ruby on Rails app. Contribute to hotwired/turbo-rails development by creating an account on GitHub.
This is not so much of an issue as sharing something that surprisingly worked for me. I am still a bit baffled about why and how this worked
Hi I have problem like in title, below GIF with example Any clue how to fix it? It happens with simple_form and form_for Peek 2021-10-24 15-
Over at github/view_component, we're thinking about how best to integrate components with Turbo Streams. So far, the integration's a
Over at github/view_component, we're thinking about how best to integrate components with Turbo Streams. So far, the integration's a
Turbo 7 introduced targeting multiple elements with targets="#css.selectors". The Turbo::Streams::TagBuilder already supports mult
Hi all 👋 I have an issue with turbo-rails broadcasting streams via action_cable using sidekiq. I am using broadcast_render_later_to from my
I tried to use Rails 7 and wrote code like this in one of my view template: <script> document.addEventListener("turbo:load",
I tried to use Rails 7 and wrote code like this in one of my view template: <script> document.addEventListener("turbo:load",
When views templates are written in ERB and contain a turbo_frame_tag, then for a request with the turbo-streams type, the response correctl
When views templates are written in ERB and contain a turbo_frame_tag, then for a request with the turbo-streams type, the response correctl
All examples of broadcasting from a model have been related to sending a partial via a Redis channel. The issue with this approach is that i
If the main ApplicationController inherits from ActionController::API it prevents the Broadcast#render_format method from working, it will a
If the main ApplicationController inherits from ActionController::API it prevents the Broadcast#render_format method from working, it will a
Let's say you have a view of the name app/views/posts/edit.turbo_stream.erb. Right now, by default, unless you do one of the following:
Let's say you have a view of the name app/views/posts/edit.turbo_stream.erb. Right now, by default, unless you do one of the following:
First of all, I surely could just data-turbo=false this but I think it's still a bug one way or the other. Example App: https://github.c
First of all, I surely could just data-turbo=false this but I think it's still a bug one way or the other. Example App: https://github.c
Error: turbo-rails-1.0.1/lib/turbo/engine.rb:20:in `block in <class:Engine>': undefined method `do_not_eager_load' for nil:Nil
With UJS I was using forms to easily make xhr requests without having to pass values to javascript. When switching to turbo I noticed that o
With UJS I was using forms to easily make xhr requests without having to pass values to javascript. When switching to turbo I noticed that o
Hi there, this might be an unusual one and it might classify as a dumb question. What i'd like to do is to specialize a part of my Form
Hi there, this might be an unusual one and it might classify as a dumb question. What i'd like to do is to specialize a part of my Form
Use Turbo in your Ruby on Rails app. Contribute to hotwired/turbo-rails development by creating an account on GitHub.
In the broadcasts_to method we cannot change the partial if we want to render the model differently on certain pages. Example if I need to s
Turbo gives you the speed of a single-page web application without having to write any JavaScript. - Comparing 2d188c63b2...9aad96a838 · ank
Greetings! 👋 I really like the premise of just throwing broadcasts into a model and knowing that the lifecycle methods will just work via ac
Greetings! 👋 I really like the premise of just throwing broadcasts into a model and knowing that the lifecycle methods will just work via ac
Use Turbo in your Ruby on Rails app. Contribute to hotwired/turbo-rails development by creating an account on GitHub.
As mentioned in #171, Turbo::Broadcastable#broadcasts provides the stream for broadcasting creates that can't be on the page until the model
As mentioned in #171, Turbo::Broadcastable#broadcasts provides the stream for broadcasting creates that can't be on the page until the model
I have at the end of my application.html.erb: jQuery: <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.slim.min.js
I have at the end of my application.html.erb: jQuery: <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.slim.min.js
If I redirect to a path that returns 200, (after a form post in my case), it loads just fine. But if it's a 304 Not Modified, the new page i
If I redirect to a path that returns 200, (after a form post in my case), it loads just fine. But if it's a 304 Not Modified, the new page i
This is a nasty one that took some debugging, but essentially we discovered that when we added turbo-rails it signed everyone out. The reaso
Turbo gives you the speed of a single-page web application without having to write any JavaScript. - Comparing 6634351846...2d188c63b2 · ank
Turbo gives you the speed of a single-page web application without having to write any JavaScript. - Comparing 551d989a8b...6634351846 · ank
Turbo gives you the speed of a single-page web application without having to write any JavaScript. - Comparing 941171869a...551d989a8b · ank
Turbo gives you the speed of a single-page web application without having to write any JavaScript. - Comparing 49ef353b18...941171869a · ank
Use Turbo in your Ruby on Rails app. Contribute to hotwired/turbo-rails development by creating an account on GitHub.
Turbo gives you the speed of a single-page web application without having to write any JavaScript. - Comparing f7b9468749...49ef353b18 · ank
As mentioned in #171, Turbo::Broadcastable#broadcasts provides the stream for broadcasting creates that can't be on the page until the model
Include layout for Turbo-Frame: requests The bandwidth benefits of optimizing Turbo-Frame: header responses to omit the layout do not offset
Include layout for Turbo-Frame: requests The bandwidth benefits of optimizing Turbo-Frame: header responses to omit the layout do not offset
In hotwire-rails-chat-demo, room/_form, add a lock action <div class="actions"> <%= form.submit %> <%= form.submit
This commit translates the Turbo-internal changes proposed by hotwired/turbo#158 to Turbo Rails via an event listener. To quote the original
Use Turbo in your Ruby on Rails app. Contribute to hotwired/turbo-rails development by creating an account on GitHub.
Use Turbo in your Ruby on Rails app. Contribute to hotwired/turbo-rails development by creating an account on GitHub.
Before the Turbo era, dom_id was a view helper. Many developers and libraries such as CableReady introduced a server-side dom_id method, whi
Use Turbo in your Ruby on Rails app. Contribute to hotwired/turbo-rails development by creating an account on GitHub.