Episode

Sdílet
Vložit
  • čas přidán 5. 02. 2022
  • In this episode, we look at creating an unobtrusive and efficient way to launch Bootstrap modals using Turbo and Stimulus. www.driftingruby.com/episodes...
    This episode is sponsored by Hook Relay
    ► Visit the Merchandise Store - www.railsstore.com/
    ► Ruby on Rails Templates - www.rubidium.io
    ► Subscribe to Drifting Ruby at www.driftingruby.com/subscrip...
  • Věda a technologie

Komentáře • 14

  • @repoles
    @repoles Před 2 lety

    Fantastic ideas! Thank you very much!
    Hotwire and Turbo is really an amazing tool! You just have to change your mindset to work properly with it.

  • @med3vall
    @med3vall Před 2 lety

    Thanks great episode

  • @devinlounge
    @devinlounge Před 2 lety +4

    This episode have some errors and isn't using import maps

  • @chandanjachpure5562
    @chandanjachpure5562 Před rokem

    Hi its very useful but, what about multiple modal open with different fields?

  • @mikopiko
    @mikopiko Před 2 lety

    That's really powerful, but my I ask?
    How was it possible for Rails to add the error message at 15:42 just by you adding the validates method in the Project modal? Didn't you add anything in the view?

    • @saqibhabib4678
      @saqibhabib4678 Před 2 lety

      same question!

    • @mikopiko
      @mikopiko Před 2 lety

      @@saqibhabib4678 I think the errors comes with the scaffold.

    • @saqibhabib4678
      @saqibhabib4678 Před 2 lety

      @@mikopiko yup ..

    • @mooktakim
      @mooktakim Před rokem +1

      the form builder shows the errors on page if there is any

    • @mikopiko
      @mikopiko Před rokem

      @@mooktakim Thanks

  • @RatanachaiS
    @RatanachaiS Před rokem

    Why do we need target: :_top ?

  • @juanicolas84
    @juanicolas84 Před rokem +2

    at 6:34 should be "r => r.text()" not "t.text()" right?

    • @juanicolas84
      @juanicolas84 Před rokem

      The answer is yes, you can see it corrected in 12:50

    • @AbdulHannan-sj2xi
      @AbdulHannan-sj2xi Před rokem

      @@juanicolas84 thanks bro you are life saver