Tutorial starts a little bit cut off. So this tutorial is all about Nested Forms inside Rails. GitHub Link: github.com/Prometheus88/NestedResourcesTutorial Happy coding!
Thanks for making this. Just a little feedback: you should consider showing the finished project at the BEGINNING of the video, so people know what they're going to make, or watch you make. It helps newcomers understand the general direction you're going in, and makes each step a little more understandable...
Nice video! Love it! Here some addition to work with the delete function: In the product.rb replace or add the following code: has_many :product_variants, dependent: :destroy accepts_nested_attributes_for :product_variants, allow_destroy: true, reject_if: proc { |att| att['color'].blank? } Or just do the validation inside the product_variant.rb :)
Thank you sir, this saved my life. I have a different question & looking forward for positive feedback. How can I populate data from another form, for example when I select 'Request No' should fill 'Request description' or 'Requester' on my form. I know this can be achieved by JavaScript's but I am stuck! Kindly help me for this as well.
Hi and thank you for this video! It saved me a lot. But now I have to test(rspec) this helper method and I need help with it. Could you give me some directions about it??
Tutorial starts a little bit cut off. So this tutorial is all about Nested Forms inside Rails.
GitHub Link: github.com/Prometheus88/NestedResourcesTutorial
Happy coding!
Thanks for making this. Just a little feedback: you should consider showing the finished project at the BEGINNING of the video, so people know what they're going to make, or watch you make. It helps newcomers understand the general direction you're going in, and makes each step a little more understandable...
nice video, show me clearly the 'advanced' of web dev without headache
Thank you soooo much! You earned yourself a subscribe. Great description. Minimal words and in depth description.
Nice video! Love it!
Here some addition to work with the delete function:
In the product.rb replace or add the following code:
has_many :product_variants, dependent: :destroy
accepts_nested_attributes_for :product_variants, allow_destroy: true, reject_if: proc { |att| att['color'].blank? }
Or just do the validation inside the product_variant.rb :)
This is a good tutorial for rails accept nested form. Thank you very much
excellent video for beginners,,, thxss a lotttt
Thanks! Make sure to subscribe, I have other content on my channel and I’m close to 1000 subscribers finally! Happy coding!
Thank you for sharing this.
Thank you sir, this saved my life. I have a different question & looking forward for positive feedback. How can I populate data from another form, for example when I select 'Request No' should fill 'Request description' or 'Requester' on my form. I know this can be achieved by JavaScript's but I am stuck! Kindly help me for this as well.
Awesome video, thanks for making, you should explain about "add jquery in the project", for the new versions.
Great tutorial !! Really helpful xD
Sir, you saved my life 😁
great job!
Good!, thank you so much
Hi and thank you for this video! It saved me a lot.
But now I have to test(rspec) this helper method and I need help with it. Could you give me some directions about it??