Stimulus Nested Forms | Ruby on Rails 7 Tutorial

  Рет қаралды 7,425

Deanin

Deanin

Жыл бұрын

Today we take a look at a Stimulus implementation for nested forms in Ruby on Rails 7. It's a bit of a follow-up to the cocoon video we did the other day.
Checkout my course(s) at: learn.deanin.com
Source:
github.com/Deanout/stimulus_n...
Links:
www.stimulus-components.com/d...
developer.mozilla.org/en-US/d...
github.com/sponsors/stimulus-...
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

Пікірлер: 17
@Deanin
@Deanin Жыл бұрын
I'm gonna go sleep now. I need to wake up early to do tomorrow's video 😭
@klnmn3722
@klnmn3722 19 күн бұрын
Successfully replaced Cocoon, which had me gouging my eyes out adding the jQuery dependency, with this. Thanks very much for the help.
@SupeRails
@SupeRails Жыл бұрын
Now we're talking! Much better than cocoon approach in 2023.
@ashokpoudel6314
@ashokpoudel6314 2 ай бұрын
Thank you so much! better than cocoon approach, for sure.
@juanmanuelguzmannava3527
@juanmanuelguzmannava3527 Ай бұрын
Thanks for the video. New suscriptor
@ettorebernardi6319
@ettorebernardi6319 Жыл бұрын
Your content helps me a lot, thanks for the video
@singaporean8205
@singaporean8205 Жыл бұрын
Wow thank you this was what I needed!!
@thomasconnolly8201
@thomasconnolly8201 7 ай бұрын
Thanks for this. I'm wondering if the tasks could be sorted via drag & drop?
@azizdevfull
@azizdevfull Жыл бұрын
Amazing : )
@fatassj
@fatassj 5 ай бұрын
I already had a nested form thing somewhat working, being able to add dynamic rows with Stimulus JS, however, my delete wasn't working yet. So I watched this video, replaced everything instead with your logic, but none of the buttons worked for some reason.
@rickbacker1
@rickbacker1 3 ай бұрын
Thank you very much for the video! I had a task with nested form in the nested form and I used this stimulus controller - not the easiest task, trully saids.. nested form in nested form can be had ache
@Deanin
@Deanin 3 ай бұрын
Yeah the nested form stuff gives me a headache too!
@andrewkancev6035
@andrewkancev6035 Жыл бұрын
Dean, it's great. Can you tell me how to use tasks created before? i mean don't create new tasks
@johanandre5338
@johanandre5338 Жыл бұрын
Nice! I would even go one step further by not using accepts_nested_attributes_for and using turbo-frames. Then you probably could ditch the stimulus controller (or at least simplify it).
@KurtisMullins
@KurtisMullins Жыл бұрын
@johanandre5338 If you have a little "for dummies" video, guide, or gist on how to do that, I'd be interested! There's a lot to digest coming into Rails 7 with a lot of habits and muscle memory from working with other languages and libraries/frameworks.
@siyammohammed5416
@siyammohammed5416 9 ай бұрын
if I have 2 nested forms what will I do?
@aksharjamgaonkar9020
@aksharjamgaonkar9020 11 ай бұрын
HI thanks for the video. I am seeing an error ERROR in ./node_modules/stimulus-rails-nested-form/dist/stimulus-rails-nested-form.mjs 2:16-17 Can't import the named export 'Controller' from non EcmaScript module (only default export is available). any help here would be great, thanks.
Turbo Frame Modals (Popups) | Ruby On Rails 7 Tutorial
12:49
Nested Forms with the Cocoon Gem | Ruby On Rails 7 Tutorial
16:19
I Need Your Help..
00:33
Stokes Twins
Рет қаралды 160 МЛН
The Worlds Most Powerfull Batteries !
00:48
Woody & Kleiny
Рет қаралды 26 МЛН
Шокирующая Речь Выпускника 😳📽️@CarrolltonTexas
00:43
Глеб Рандалайнен
Рет қаралды 11 МЛН
Rails scaffold deepdive
53:50
CJ Avilla
Рет қаралды 5 М.
Nested Attributes & Validation In Ruby On Rails 7
9:03
Deanin
Рет қаралды 5 М.
What's New In Ruby 3.3
17:19
GoRails
Рет қаралды 8 М.
Turbo Frames vs. Turbo Streams
8:25
Mix & Go
Рет қаралды 16 М.
Page refreshes with morphing in Turbo 8
25:10
Jorge Manrubia Díez
Рет қаралды 8 М.