Inline Editing with Turbo Frames in Rails

Sdílet
Vložit
  • čas přidán 31. 01. 2022
  • ► Check out gorails.com for Pro episodes and more!
    ► SaaS business template for Ruby on Rails with built-in features like Payments, Teams, and much more: jumpstartrails.com
    ► Ruby on Rails hosting with Hatchbox.io: hatchbox.io
    ► Learn how to add Stripe Payments (with SCA support!) with Ruby on Rails: courses.gorails.com/payments-...
  • Věda a technologie

Komentáře • 21

  • @anamariaarbelaezlopez4783
    @anamariaarbelaezlopez4783 Před 21 hodinou +1

    hello again Chris, you are awesome, thank you for share your knowledge with us!

  • @juanicolas84
    @juanicolas84 Před 2 lety +1

    I'm just gonna say it, like we say it here: PARCERO GRACIAS!! it was incredible, you are such a good teacher.

  • @MalachiRails
    @MalachiRails Před 3 měsíci

    Great Tutorial Nice Job

  • @AP-ol7tj
    @AP-ol7tj Před 2 lety +1

    Thank you sir! That's one of the clearest tutorials about turbo

    • @GorailsTV
      @GorailsTV  Před 2 lety

      You're welcome! Thanks for watching!

  • @antonina8379
    @antonina8379 Před 2 lety +1

    Absolutly great, thanks a lot Chis for this precise learning shared on turbo frame + refactoring methodology. All the best

  • @programoo
    @programoo Před 2 lety +1

    Fantastic! We have been long waiting for this inline editing without JS for years.

  • @jewilmeer
    @jewilmeer Před 2 lety +1

    This is such a great example in multiple ways. Thanks!

  • @bennadel
    @bennadel Před rokem +1

    Wow, really great stuff. I'm very new to Hotwire and this kind of blew my mind. It would never have occurred to me to have conditional buttons that are hidden some of the time.

    • @GorailsTV
      @GorailsTV  Před rokem

      Same! Sean Doyle who contributes a lot to Hotwire has told me to basically try using frames for everything before you reach for other features of Hotwire like Turbo Streams and I think it's great advice. That way you get these features implemented clean and without any custom js

    • @bennadel
      @bennadel Před rokem

      @@GorailsTV It is really cool. The only hesitation I have is that it seems every form page becomes more tightly coupled to the other pages that might call it. I think part of what I have to really shift my mindset for is this whole multi-format response that Rails seems to do (I'm not actually using Rails). The HTML vs. JSON vs. Streams stuff, I've never really coded a page that could return different formats before. Will take some getting used to.

  • @prakashsanyasi5608
    @prakashsanyasi5608 Před 2 lety +1

    Thanks for amazing tutorial 😍😍😍
    Hoping to see more tutorial in turbo frames and turbo drive 😜

  • @HoracioBertorello
    @HoracioBertorello Před 2 lety +1

    Amazing tutorial. Keep 'em coming!

  • @holgera7170
    @holgera7170 Před rokem +1

    These videos are so helpful if I could I would subscribe a bunch of times 😀

  • @avishek-jana
    @avishek-jana Před rokem +2

    That's awesome!

  • @ismaelsane9786
    @ismaelsane9786 Před 3 měsíci

    Great tutorial ! do you know how can I implement inline editing on a nested form ?

  • @bendomino8476
    @bendomino8476 Před 2 lety

    This is really great especially when refactoring all the input into *_inline_fields*, however I have a question, What if I would like to made a specific input for let's say the select categories to auto submit using *onchange:* attribute without changing the edit form behavior when I actually visiting the edit article page? where and how do you think I should put it? Thanks!

  • @kwhandy
    @kwhandy Před 2 lety +1

    🔥🔥🔥🔥 waiting for button spinner on submit too

    • @kwhandy
      @kwhandy Před 2 lety

      i think you already done my request

  • @borjarobles9538
    @borjarobles9538 Před rokem

    I found a but, when I try to edit 2 times the same content the turboframe can not be found