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.
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?
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
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.
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
Thanks!
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.
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?
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?
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?
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.