Thank you for continuing posting this kind of short tutorial they are very useful, I'm your student on Udemy and these tutorials complement the knowledge, Thank you
But an even better approach would be to render a turbo_stream template. You can respond to a controller action with format.turbo_stream and have something like "app/views/posts/create.turbo_stream.erb" and inside you can place as much turbo stream content as you wish. Also you can add blocks of html into a stream that way
Thanks! I was wondering why you didn't use turbo-frame for the "new" div. Is it because you are updating a flash message in a different part of the screen, which would require multiple updates? I've heard it said that you can't respond with multiple turbo-FRAMES... Reminder , In git commit -m the "m" is "message" not "main".
Regarding Turbo Frames - That's a good question. We could potentially use FRAMES to handle the form (creating records; rendering errors; re-rendering form), while STREAMS would render flash messages and add a new record to the list.
@@SupeRails In this case I think turbo frames are the only option since you want to update multiple non-contiguous divs. I'm trying to go through your tutorials very thoroughly ("with a fine-tooth comb")
In this episode we add Tom-select to a Rails app ruclips.net/video/dB5Fw1lftHU/видео.html Text version: blog.corsego.com/select-or-create-with-tom-select
Wonderful tutorial, thank you so much for your knowledge and time that you put into these videos
As always. Good stuff from SupeRails!
Окреме велике дякую за те, що коміти розділені між сетапом і самою фічою. супер зручно
Thank you yaroslav, and i pray for you, may God help you and your family to stay safe
I like your channel. It is super useful. You address common turbo issues folks bump into when they start building real world apps 👍
Thanks Dino!
Thank you for continuing posting this kind of short tutorial they are very useful, I'm your student on Udemy and these tutorials complement the knowledge, Thank you
Great video - easy to follow - nice work!!
omg ! I didn’t know about multi turbo stream renders. I thought I can respond with one partial render. It will change everything in my app :D thx
But an even better approach would be to render a turbo_stream template. You can respond to a controller action with format.turbo_stream and have something like "app/views/posts/create.turbo_stream.erb" and inside you can place as much turbo stream content as you wish. Also you can add blocks of html into a stream that way
@@SupeRails Where do I find well-explained documentation for such tips and tricks regarding hotwire?
@@maacharya either the source code for turbo-rails itself, or on blog.corsego.com ;)
SUPER!!!!
Thanks! I was wondering why you didn't use turbo-frame for the "new" div. Is it because you are updating a flash message in a different part of the screen, which would require multiple updates? I've heard it said that you can't respond with multiple turbo-FRAMES... Reminder , In git commit -m the "m" is "message" not "main".
Regarding Turbo Frames - That's a good question. We could potentially use FRAMES to handle the form (creating records; rendering errors; re-rendering form), while STREAMS would render flash messages and add a new record to the list.
@@SupeRails In this case I think turbo frames are the only option since you want to update multiple non-contiguous divs. I'm trying to go through your tutorials very thoroughly ("with a fine-tooth comb")
hello would you make a example for dropdown/selection with searchbox? like react-select
In this episode we add Tom-select to a Rails app ruclips.net/video/dB5Fw1lftHU/видео.html
Text version: blog.corsego.com/select-or-create-with-tom-select
Дякую!