Turbo Frame Pages in Ruby on Rails 7
Вставка
- Опубліковано 8 лют 2025
- Let's talk about turbo_frame.erb files and how these turbo frame "pages" can be used in Ruby on Rails 7.
Checkout my course(s) at: learn.deanin.com
Join this channel to help support these videos:
/ @deanin
Follow me on social media:
linktr.ee/deanin
If you liked this video, please consider subscribing: t.co/RZ4EwP0F2a
#Deanin #Software #Programming
It's 3 AM here, this video went up way too late 😅
I'm gonna go sleep before I work on tomorrow morning's video haha help me
I agree. I am pretty inconsistent when it comes to using it. and I have both approach on the same app 😞 Nice tutorial, especially the part about rendering errors.
Hi im having some trouble, upgraded from rails 6 to 7, added the turbo-rails to the gem file
Im trying to follow your steps to create a simple proof of concept that the turbo is working on my project
However when i get to the 5:38 timemark (using the same files) the create post button redirects me to /posts/id (show) instead of prependding the test message
Is there a different install process for turbo when upgrading from rails 6 to 7
i have the same issue...
@@fedorzajac9756 Yep and me. Did you ever find a fix?
I m facing mentioned issue by @misheruzinho in rails 8 too.
After some investigation, esbuild is missing for me bundling.
Nice video! Curious, is there an advantage to wrapping the form in a turbo frame instead of just adding an id of "new-post" directly to the form tag?
Thanks!
How to append more then one, I mean what if i have a table and I want to add a few new lines, then fill them and after save the form. How can i do that?
Love you video's but in this one, you don't have to define locals: {post: @post} in the controller. the new.turbo_stream.erb or the create.turbo_stream.erb, can be treated like a normal .html.erb file, so you can use instance variables directly in them. Keeps your controllers a bit clearer in my opinion.
Good to know! Thanks for letting me know 🙂
Been working in rails since 2005. This video seems rushed with an unclear objectve and use case.
Totally agree