Digging into Turbo 8's Morphing Feature in Ruby on Rails

  Рет қаралды 5,818

webcrunch

webcrunch

Күн бұрын

Пікірлер: 13
@ricardomordaunt1101
@ricardomordaunt1101 10 ай бұрын
This is amazing..Thanks to all the creators and contributors to Ruby on Rails..
@wpftutorial
@wpftutorial 10 ай бұрын
15:50 I really don't understand why touch: true on the relationship would cause the posts to re-render. Very confusing API. Why `turbo_stream_from @user` causes the list of @posts to re-render?
@Webcrunch
@Webcrunch 10 ай бұрын
touch: true updates the timestamp column on the associated model which then triggers a morph type of response. Assuming you're subscribed to updates using the "turbo_stream_from" helper method, rails should tap into those streams and using morphing to update the page. It's pretty magical and I agree it's tough to follow. I'm still trying to wrap my head around it myself.
@johnlloyddesape3206
@johnlloyddesape3206 11 ай бұрын
😎
@francogaliotti3837
@francogaliotti3837 5 ай бұрын
Hey, which icon extension do you use for vs code? I really like how it looks
@alexeycherkashin6251
@alexeycherkashin6251 11 ай бұрын
Super cool feature. Thats a bit pity to see it relates on timestamps of a parent record when we talk about lists. Because on big projects there are usually at least a few after update callbacks. On the other hand, it should rely on something and updated at field sounds reasonable. However, I'd love to see it configurable in the future
@Webcrunch
@Webcrunch 11 ай бұрын
Totally agree 👍
@O_Eduardo
@O_Eduardo 11 ай бұрын
So, people finally found morphdom.. Nice.
@mateuszbialowas
@mateuszbialowas 11 ай бұрын
Why do you install tailwind after app creation instead of create app with tailwind framework?
@Webcrunch
@Webcrunch 11 ай бұрын
Mostly just how I had it in my notes for the blog post. I'm not 100% sure but the route I chose uses a dedicated gem (tailwind-rails) and the app creation route uses postcss.
@Otterlover_900
@Otterlover_900 11 ай бұрын
what is yjit and how to install it's
@sumskyi
@sumskyi 11 ай бұрын
Just In Time - it is built into Ruby 3.1. You could just manipulate its configuration
@Otterlover_900
@Otterlover_900 11 ай бұрын
@@sumskyi thank you
How to use Bun with Ruby on Rails
9:44
webcrunch
Рет қаралды 1,4 М.
Should you use Ruby on Rails in 2024?
14:43
webcrunch
Рет қаралды 58 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
Digging into Turbo with Ruby on Rails 7
44:50
webcrunch
Рет қаралды 16 М.
Jorge Manrubia - Making a difference with Turbo - Rails World 2023
37:37
Turbocharged realtime search with Ruby on Rails 7
25:55
webcrunch
Рет қаралды 6 М.
ViewComponent Crash Course with Ruby on Rails
46:33
webcrunch
Рет қаралды 1,4 М.
Build a Chat App with Ruby on Rails and Ollama
27:22
Phil Smy
Рет қаралды 2,4 М.
Build a Kanban Board with Turbo 8 & Tailwind CSS!
46:09
Phil Smy
Рет қаралды 1 М.
Ruby on Rails Hotwire + Turbo for Beginners
17:11
Malachi Rails
Рет қаралды 4,9 М.
5 Secrets to Becoming a Badass Ruby on Rails Developer
28:01
Mix & Go
Рет қаралды 25 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН