Rails - Nested Forms in Rails | [Tutorial]

Поделиться
HTML-код
  • Опубликовано: 5 ноя 2024

Комментарии • 16

  • @codecampbase1525
    @codecampbase1525  4 года назад +6

    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!

  • @k2director
    @k2director 4 года назад +8

    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...

  • @phanta5m
    @phanta5m 2 года назад

    nice video, show me clearly the 'advanced' of web dev without headache

  • @AbdulMajeed-fz2fl
    @AbdulMajeed-fz2fl 2 года назад

    Thank you soooo much! You earned yourself a subscribe. Great description. Minimal words and in depth description.

  • @jeffreyvandervet8698
    @jeffreyvandervet8698 3 года назад +1

    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 :)

  • @soezayar3586
    @soezayar3586 4 года назад

    This is a good tutorial for rails accept nested form. Thank you very much

  • @maximus22decimus
    @maximus22decimus 4 года назад +1

    excellent video for beginners,,, thxss a lotttt

    • @codecampbase1525
      @codecampbase1525  4 года назад

      Thanks! Make sure to subscribe, I have other content on my channel and I’m close to 1000 subscribers finally! Happy coding!

  • @junioraos4074
    @junioraos4074 2 года назад

    Thank you for sharing this.

  • @richardlenawasae1692
    @richardlenawasae1692 3 года назад

    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.

  • @jairoolan8704
    @jairoolan8704 3 года назад

    Awesome video, thanks for making, you should explain about "add jquery in the project", for the new versions.

  • @aakashsrivastava22
    @aakashsrivastava22 3 года назад

    Great tutorial !! Really helpful xD

  • @kaisarbarlybay1408
    @kaisarbarlybay1408 3 года назад

    Sir, you saved my life 😁

  • @emmannweb
    @emmannweb 3 года назад

    great job!

  • @ConociendoElCodigo
    @ConociendoElCodigo 2 года назад

    Good!, thank you so much

  • @italofasanelli2999
    @italofasanelli2999 4 года назад

    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??