Turbo Frame Pages in Ruby on Rails 7

  Рет қаралды 8,840

Deanin

Deanin

Күн бұрын

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

Пікірлер: 14
@Deanin
@Deanin Жыл бұрын
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
@stpaquet
@stpaquet Жыл бұрын
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.
@misheruzinho
@misheruzinho Жыл бұрын
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
@fedorzajac9756
@fedorzajac9756 Жыл бұрын
i have the same issue...
@tomdringer985
@tomdringer985 Жыл бұрын
@@fedorzajac9756 Yep and me. Did you ever find a fix?
@RiteshChaudhary-fm1lb
@RiteshChaudhary-fm1lb Ай бұрын
I m facing mentioned issue by @misheruzinho in rails 8 too.
@riteshchaudhary4081
@riteshchaudhary4081 22 күн бұрын
After some investigation, esbuild is missing for me bundling.
@smidwap
@smidwap Жыл бұрын
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?
@borsodon7999
@borsodon7999 11 ай бұрын
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?
@azizdevfull
@azizdevfull Жыл бұрын
Thanks!
@ratsu1991
@ratsu1991 Жыл бұрын
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.
@Deanin
@Deanin Жыл бұрын
Good to know! Thanks for letting me know 🙂
@bitwise2832
@bitwise2832 Жыл бұрын
Been working in rails since 2005. This video seems rushed with an unclear objectve and use case.
@mateytech
@mateytech 7 ай бұрын
Totally agree
Turbo Frame Modals (Popups) | Ruby On Rails 7 Tutorial
12:49
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
International Country Phone Calling Codes in Caspio
1:13
WorkMovr - Caspio Developers
Рет қаралды 3
Realtime partial page updates with Turbo Streams
22:33
CJ Avilla (cjav_dev)
Рет қаралды 9 М.
Stop using React! Hotwire Introduction Part I: Turbo Frames
7:17
Refactoring Turbo Streams into Turbo Frames
10:54
GoRails
Рет қаралды 4,4 М.
All the ways to render partials in Rails
17:11
webcrunch
Рет қаралды 1 М.
How to use Hotwire in Rails
24:26
GoRails
Рет қаралды 57 М.
Ruby on Rails Turbo App in 10 Minutes
11:29
Malachi Rails
Рет қаралды 1,3 М.
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН