Realtime partial page updates with Turbo Streams

Sdílet
Vložit
  • čas přidán 7. 09. 2021
  • In this episode, you'll see how to setup and install turbo-rails to create partial page updates with Turbo streams in your Ruby on Rails applications. We'll broadcast updates to blog posts, and broadcast appends to our list of comments.
    #rails #rubyonrails
  • Jak na to + styl

Komentáře • 17

  • @RohanDaxini
    @RohanDaxini Před 2 lety

    Thank you. This is a really helpful video on Turbostreams and how things work under the hood.

  • @lorem_ipsumm
    @lorem_ipsumm Před 2 lety

    I've spent like a full day on trying to break that streams into pieces and finally it took 22;32 min to understand that 😅
    Thanks a lot for that video !

  • @zj_k9718
    @zj_k9718 Před rokem

    Thankyou
    Very helpful!

  • @ricardomordaunt1101
    @ricardomordaunt1101 Před rokem

    Thank you.. very helpful

  • @AustinStory
    @AustinStory Před rokem

    great job!

  • @estuardohernandez4230
    @estuardohernandez4230 Před 8 měsíci

    Great video and very well explained. Is there any book you recommend to learn more about this topic?

  • @cmthimmaiah
    @cmthimmaiah Před rokem

    Great video, thank you

  • @darkpill
    @darkpill Před 2 lety

    Great video! How well do you figure turbo streams will scale?

  • @benjamintpoon
    @benjamintpoon Před 2 lety

    CJ, what kind of keyboard do you use? It sounds so nice..

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

      Thanks, Ben! I use a keyboard from codekeyboards.com with cherry Mx clear switches.

  • @mutebiugofficial8827
    @mutebiugofficial8827 Před 5 měsíci

    any continuation of this video sir

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

    None of this works on Rails 7. Any thoughts?

    • @guillaumequet5856
      @guillaumequet5856 Před 2 lety

      same here...

    • @epicrato
      @epicrato Před rokem

      @@guillaumequet5856 make sure you have redis installed on your computer too. If you are on mac, write on your terminal brew install redis, then when that finishes write: brew services start redis

  • @mutebiugofficial8827
    @mutebiugofficial8827 Před 5 měsíci

    Anyone who got how to nest child comments under thier parents with turbo after when a comment is created❤

  • @jct808
    @jct808 Před 9 měsíci

    Thanks for your video, it is a really helpful video ...
    I have problem to broadcast update with Devise.
    It show error like this.. How Can I fix it ?
    Devise could not find the `Warden::Proxy` instance on your request environment. (ActionView::Template::Error)
    Make sure that your application is loading Devise and Warden as expected and that the `Warden::Manager` middleware is present in your middleware stack.
    If you are seeing this on one of your tests, ensure that your tests are either executing the Rails middleware stack or that your tests are using the `Devise::Test::ControllerHelpers` module to inject the `request.env['warden']` object for you.
    /home/jct808/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/devise-4.9.2/lib/devise/controllers/helpers.rb:143:in `warden': Devise could not find the `Warden::Proxy` instance on your request environment. (Devise::MissingWarden)
    Make sure that your application is loading Devise and Warden as expected and that the `Warden::Manager` middleware is present in your middleware stack.
    If you are seeing this on one of your tests, ensure that your tests are either executing the Rails middleware stack or that your tests are using the `Devise::Test::ControllerHelpers` module to inject the `request.env['warden']` object for you.