Ruby on Rails #59 Hotwire Turbo Streams CRUD

  Рет қаралды 20,249

SupeRails

SupeRails

Күн бұрын

Пікірлер: 54
@tomdringer985
@tomdringer985 Жыл бұрын
Easily the best Turbo Streams example i've seen. Very easy to understand. Thank you!
@SupeRails
@SupeRails Жыл бұрын
You're very welcome! ☺️
@mr.movies7910
@mr.movies7910 9 ай бұрын
I have parctice all in 5 hours learn a lot from you man.
@nathangillespie5421
@nathangillespie5421 2 жыл бұрын
You made this a lot more understandable than other tutorials because you shown the responses in dev tools. Other videos have you create an id for the elements without explaining that's how it is targeted by turbo. Thanks!
@mikopiko
@mikopiko 2 жыл бұрын
Such a beautiful introduction to Hotwire and Turbo specifically! Thank you.
@Ilmattosulcolle
@Ilmattosulcolle 2 жыл бұрын
This is THE guide I was looking for. Your explanations are SUPERB
@haroldpepete
@haroldpepete 2 жыл бұрын
you do a great job, turbostream sometimes look like magic that even you are surprised, i don't miss any video of your channel
@edyta9877
@edyta9877 Жыл бұрын
Amazing content! Best explanation about turbo available. Thanks for your work.
@BenjaminMahmood
@BenjaminMahmood 8 ай бұрын
Finally I am starting to understand it! Great video!
@muniruddin8295
@muniruddin8295 2 жыл бұрын
Superb !! Very clear explanation. Thanks for making this.
@MohsinTariq-c5t
@MohsinTariq-c5t Жыл бұрын
Learned a lot from you, You are doing great Job brother.
@christianconcepcion4914
@christianconcepcion4914 2 жыл бұрын
This tutorial what I'm looking for! Thank you so much sir!
@tariqhussain5396
@tariqhussain5396 Жыл бұрын
Great work!!! Very well explained, Thanks
@GajendraSingh-nl6rb
@GajendraSingh-nl6rb 3 жыл бұрын
You video are very helpful for me for my production project
@SupeRails
@SupeRails 3 жыл бұрын
Glad to hear that! What are you building?
@marknelson8114
@marknelson8114 2 жыл бұрын
Very clear explanation, thank you.
@roger-1981-wimb
@roger-1981-wimb Жыл бұрын
Wonderful tutorial. Well explained, and the pace was good. Wondering how I can make the buttons in one line rather than stacked.
@terng_gio
@terng_gio 3 жыл бұрын
I have a user and a message model, im trying to put a delete link if the message is belongs to current user, but that doesn't seem to work, I have to refresh the page in order to see the delete link. Any opinion?
@SupeRails
@SupeRails 3 жыл бұрын
See the console logs. Do you get "Request forgery protection requires a working session store but your application has sessions disabled."? Here's how you can fix that: blog.corsego.com/turbo-stream-button-to-update-value-and-refresh-frame
@kiruieli254
@kiruieli254 3 жыл бұрын
Awesome tutorial 🙌
@leandrocl5724
@leandrocl5724 2 жыл бұрын
gracias papi que chevere tu contenido, saludos desde peru :D
@shinykiwis3564
@shinykiwis3564 Жыл бұрын
Very helpful, thank you!
@SupeRails
@SupeRails Жыл бұрын
You're welcome!
@agustinpalmam2923
@agustinpalmam2923 2 жыл бұрын
Great video man, thanks
@aeroplane769
@aeroplane769 3 жыл бұрын
Wonderful tutorial!!
@SupeRails
@SupeRails 3 жыл бұрын
Hello Vishal! Thanks for the feedback. I'm really enjoing Turbo and all it's possibilities a lot lately
@erdemtopal4107
@erdemtopal4107 3 жыл бұрын
İt was really benaficial. Thanks a lot. Turbo is going to be new react. React is too complicated when i compare with stream.
@pging8328
@pging8328 Жыл бұрын
hey thanks for the video btw: git commit -m -----> the -m flag denotes msg, not "main" as referred to in the video.
@TruongNguyen-jy6nt
@TruongNguyen-jy6nt 3 жыл бұрын
I follow the code and it's not working for me. I see the Network and it appears requests with status 200 but nothing change until i refresh the page. What can i do to fix this issue?
@SupeRails
@SupeRails 3 жыл бұрын
what exactly is not working? timecode?
@TruongNguyen-qw1sp
@TruongNguyen-qw1sp 3 жыл бұрын
@@SupeRails my html is not changing. Seems like turbo don't modify my page. I don't know why
@ruby-on-rails
@ruby-on-rails 2 жыл бұрын
Amazing tutorial! I created an inline SPA form just by watching your tutorial and it's working! There's one issue though when the flash message displays we need a way to make it go away after a few seconds. I am wondering if that's possible with turbo. I fit isn't how would you implement it in Javascript? BIG THANKS!!🙏
@SupeRails
@SupeRails 2 жыл бұрын
Hello Juzer! I've got a video about flash messages that answers your question here: kzbin.info/www/bejne/o3Kkf6Clg8yCgaM
@ruby-on-rails
@ruby-on-rails 2 жыл бұрын
@@SupeRails Yes! I am just watching that! 🙂 Your a Rails hero! 😀👌
@jeremybrews2521
@jeremybrews2521 2 жыл бұрын
this was really cool ty
@edmundo5450
@edmundo5450 3 жыл бұрын
Big thanks for the tutorial. I follow the coding and its a joy to see it works. For my practice, i tried to do it for a simple two column table (i.e. Name and age). However, i cant make to work with Edit and Destroy. Is there any suggestions for "turboing" a table. Would be nice, if a tutorial can be planned for these. I'm sure it will be a big hit for newcomers like me. Thanks again.
@SupeRails
@SupeRails 3 жыл бұрын
Hello Edmundo! There seems to be no good-enough way to use hotwire within the HTML tag. You can see the discussion here: github.com/hotwired/turbo/issues/48 I would recommend sticking to non-table columns with Hotwire stuff, at least for now ;)
@edmundo5450
@edmundo5450 3 жыл бұрын
I saw this article already, so instead of using HTML tag, i used divs to create the table as suggested by the readers on that article. Create is working properly. Destroy, i need two clicks to the button to delete the row and Edit can display the form after click button.
@faraznaeem
@faraznaeem 3 жыл бұрын
Great tutorial!
@faraznaeem
@faraznaeem 3 жыл бұрын
Is there a way to make the notice disappear after a few seconds using only turbo?
@SupeRails
@SupeRails 3 жыл бұрын
You would want to use a stimulus controller for that. See section #5 of this blogpost: blog.corsego.com/turbo-hotwire-flash-messages
@felipehansen4932
@felipehansen4932 2 жыл бұрын
What a good content, thanks
@GajendraSingh-nl6rb
@GajendraSingh-nl6rb 3 жыл бұрын
Hello , I am new in rails , can you guide me how to archive in mastery in rails
@SupeRails
@SupeRails 3 жыл бұрын
Read a lot of blogs, experiment a lot on your own pet-projects. Try building something big and experimental on your own :)
@alvarobyrne
@alvarobyrne Жыл бұрын
please tell me/us, let us know, how different is it , or what is the difference when, the flow, the code, when one creates files like , templates like, `views/messages/create.turbo_stream.erb` and so on. why didn't you use those types of templates. thanks in advance. and, once again (something that is evident, unhideable); your channel rocks ruby all over the place! ha
@SupeRails
@SupeRails Жыл бұрын
very good question! for stuff that can be done inline, it’s enough to do it from controller directly. but I believe that having turbo_stream.erb templates is ultimately A BETTER approach
@RomanA-p6h
@RomanA-p6h 2 жыл бұрын
После просмотра этого ролика - мне захотелось перейти с Symfony на RoR =)
@sufyaniqbal3636
@sufyaniqbal3636 3 жыл бұрын
It's great. I will waite for stimulus and trada too. And how we can handle streem at model level
@SupeRails
@SupeRails 3 жыл бұрын
Hello Sufyan. From a model level you would be doing "broadcasts". Here are my notes on that: blog.corsego.com/turbo-hotwire-broadcasts
@mikopiko
@mikopiko 2 жыл бұрын
Looking forward to see Strada get released!
@zeeshanahmad2389
@zeeshanahmad2389 Жыл бұрын
hey man love you.
@salomaonovacena6198
@salomaonovacena6198 2 жыл бұрын
Hey SuperRails, nice nice. Rails 7 API course?
@omhr9554
@omhr9554 2 жыл бұрын
ubuntu + ruby on rails + postgresql NEVER worked easily, at least never as easy did for you I had to create database with pgAdmin RoR never created it for me
@SupeRails
@SupeRails 2 жыл бұрын
In my experience, I set up rails+postgres+ubuntu on AWS Cloud9 IDE and it works pretty well for me. Here's my script for installing Rails 7, postgres: blog.corsego.com/install-ruby-on-rails-7-on-ubuntu Here - for setting up the basics of postgres: blog.corsego.com/ruby-on-rails-install-postgresql Hope my experience helps you at least a bit :)
Ruby on Rails #60 Hotwire Turbo Streams Autocomplete Search
27:28
Turbo Frames vs. Turbo Streams
8:25
Mix & Go
Рет қаралды 19 М.
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
Ruby on Rails Hotwire + Turbo for Beginners
17:11
Malachi Rails
Рет қаралды 6 М.
What is Hotwire?
6:55
The Pragmatic Studio
Рет қаралды 12 М.
Rails Concerns vs. Modules and when to use each
13:18
webcrunch
Рет қаралды 2,2 М.
Hotwire Modals with ZERO JAVASCRIPT
6:39
Rapid Ruby
Рет қаралды 12 М.
Custom Turbo Confirm Modals with Hotwire in Rails
9:10
GoRails
Рет қаралды 9 М.
Dynamic forms in Hotwire
7:29
Rapid Ruby
Рет қаралды 7 М.
Turbo Frame Pages in Ruby on Rails 7
15:47
Deanin
Рет қаралды 9 М.
Turbo Frames versus Turbo Streams: What’s the difference?
13:46
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН