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!
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.
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 ;)
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.
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?
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
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
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
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!!🙏
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?
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
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 :)
Easily the best Turbo Streams example i've seen. Very easy to understand. Thank you!
You're very welcome! ☺️
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!
Such a beautiful introduction to Hotwire and Turbo specifically! Thank you.
This is THE guide I was looking for. Your explanations are SUPERB
Amazing content! Best explanation about turbo available. Thanks for your work.
Finally I am starting to understand it! Great video!
Superb !! Very clear explanation. Thanks for making this.
Very clear explanation, thank you.
This tutorial what I'm looking for! Thank you so much sir!
you do a great job, turbostream sometimes look like magic that even you are surprised, i don't miss any video of your channel
Great work!!! Very well explained, Thanks
Learned a lot from you, You are doing great Job brother.
You video are very helpful for me for my production project
Glad to hear that! What are you building?
İt was really benaficial. Thanks a lot. Turbo is going to be new react. React is too complicated when i compare with stream.
Very helpful, thank you!
You're welcome!
gracias papi que chevere tu contenido, saludos desde peru :D
I have parctice all in 5 hours learn a lot from you man.
Wonderful tutorial. Well explained, and the pace was good. Wondering how I can make the buttons in one line rather than stacked.
hey thanks for the video
btw: git commit -m -----> the -m flag denotes msg, not "main" as referred to in the video.
Great video man, thanks
Awesome tutorial 🙌
Wonderful tutorial!!
Hello Vishal! Thanks for the feedback. I'm really enjoing Turbo and all it's possibilities a lot lately
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.
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 ;)
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.
После просмотра этого ролика - мне захотелось перейти с Symfony на RoR =)
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?
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
this was really cool ty
Great tutorial!
Is there a way to make the notice disappear after a few seconds using only turbo?
You would want to use a stimulus controller for that. See section #5 of this blogpost: blog.corsego.com/turbo-hotwire-flash-messages
What a good content, thanks
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
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
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!!🙏
Hello Juzer! I've got a video about flash messages that answers your question here: ruclips.net/video/mAANmoNgOKA/видео.html
@@SupeRails Yes! I am just watching that! 🙂 Your a Rails hero! 😀👌
Hello , I am new in rails , can you guide me how to archive in mastery in rails
Read a lot of blogs, experiment a lot on your own pet-projects. Try building something big and experimental on your own :)
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?
what exactly is not working? timecode?
@@SupeRails my html is not changing. Seems like turbo don't modify my page. I don't know why
It's great. I will waite for stimulus and trada too. And how we can handle streem at model level
Hello Sufyan. From a model level you would be doing "broadcasts". Here are my notes on that: blog.corsego.com/turbo-hotwire-broadcasts
Looking forward to see Strada get released!
hey man love you.
Hey SuperRails, nice nice. Rails 7 API course?
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
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 :)