In Ruby on Rails, form_with is a helper method used to generate HTML forms. It's commonly used for creating forms associated with models. In your example, @post and @comment are two separate models. This method generates a form that can be used to create or update instances of both models in a single form. This is often useful when you have nested resources or associations between models, such as a post having multiple comments.
Yes it can. But you’re gonna need to do extra things that I didn’t cover in my recent tutorial. Things like making sure the images are loaded onto a server and making sure render has redis
The best way to set up Rails is to do it via AWS Cloud 9. It's MUCH faster than installing it locally on your machine, and I highly recommend it. Check out this tutorial here: th-cam.com/video/q-90GlLPBBI/w-d-xo.htmlsi=sEjO0XInLiwpYoO0 Rails is notoriously hard to set up on Windows, which is why I use AWS Cloud 9 for all my Rails stuff
I just jumped through the video, it look great! But please can you increase the quality to at least 1080p please? But overall I really love your videos!
@@MalachiRails Ohh nice! Thanks for your content! I really love to watch someone else building something meaningful. And what would you suggest to a starting Ruby dev? Like where to learn the purest basics?
Bro did it again
YES
Thanks alot
No bothers buddy
Is this video suitable for someone who has not used Rails before but has used a different web framework such as React, Nodejs etc.?
Yes it is.
Can you explain what's going on here: form_with(model: [@post, @comment] ....". What's the reason behind specifying more than 1 model?
In Ruby on Rails, form_with is a helper method used to generate HTML forms. It's commonly used for creating forms associated with models. In your example, @post and @comment are two separate models. This method generates a form that can be used to create or update instances of both models in a single form. This is often useful when you have nested resources or associations between models, such as a post having multiple comments.
This can be deployed on Render as well right.
Yes it can. But you’re gonna need to do extra things that I didn’t cover in my recent tutorial. Things like making sure the images are loaded onto a server and making sure render has redis
@@MalachiRails how do you make sure it has redis
@@CyranicalGoated This is how.
docs.render.com/redis
@@MalachiRails thank you
@@CyranicalGoated No problem
What VSCode extensions do you use?
I will make a video on this topic
wouldn't you go into the view components world?
Tell me why
@@MalachiRails ah, no, I'm just interested in learning. just if you think it's worthwhile. that is why I'm asking if you wouldn't do it
@@alvarobyrne I would.
@@MalachiRails coool!
Perfect thank You!
Thank you too!
Excelent!!!!!
Thank you!
I am worried about the MAC installations
The best way to set up Rails is to do it via AWS Cloud 9. It's MUCH faster than installing it locally on your machine, and I highly recommend it. Check out this tutorial here:
th-cam.com/video/q-90GlLPBBI/w-d-xo.htmlsi=sEjO0XInLiwpYoO0
Rails is notoriously hard to set up on Windows, which is why I use AWS Cloud 9 for all my Rails stuff
@@archangel0137 thanks a lot. I use mac tho, do you still suggest it
I just jumped through the video, it look great! But please can you increase the quality to at least 1080p please?
But overall I really love your videos!
It will increase just takes a few hours I think
@@MalachiRails Ohh nice! Thanks for your content! I really love to watch someone else building something meaningful.
And what would you suggest to a starting Ruby dev? Like where to learn the purest basics?
Nice 360P
Still processing :)
Bro is fucking at it again
Yea