Liking Posts With Hotwire in Ruby on Rails

Sdílet
Vložit
  • čas přidán 25. 06. 2023
  • ► 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 • 15

  • @anthonypetruzzi158
    @anthonypetruzzi158 Před 4 měsíci +1

    This is PERFECT!!!! Refactoring older posts using modern methods is EXACTLY what we need!!!! 💓💓💞💞 With all the new stuff coming out with Rails, it's cool to see how we can Hotwire to enhance our apps

    • @GorailsTV
      @GorailsTV  Před 4 měsíci

      Glad you enjoyed it! We will be doing more!

  • @kenroyreid3527
    @kenroyreid3527 Před 2 měsíci +1

    Great coding man respect

  • @yeinercarvajalquina7727
    @yeinercarvajalquina7727 Před 8 měsíci +1

    I love this, I follow you recently and I am excited with all the code here! Thanks a lot !!!

  • @ernepazzo1212
    @ernepazzo1212 Před 10 měsíci +1

    Excelente trabajo!!! Te estoy siguiendo Chris!!!

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

    Thanks a lot for the video! One question, I am struggling with the lack of access to current_user when I replace or update through turbo_stream, how come that you can use it in the like partial without an error?

  •  Před 10 měsíci

    I loved it. Just thought that it is a bit too fast, there are some things I do not understand yet. Do I get any sort of "learning path" to level up as a go rails monthly subscriber? I mean, probably no, right? Maybe I should Just go through the classes and use the comunity to ask questions?

    • @GorailsTV
      @GorailsTV  Před 10 měsíci

      Check out our learning path at gorails.com/path

    • @jl789nz
      @jl789nz Před 9 měsíci +1

      I was having the same problem as you. I'd recommend going through the GoRails learning path, but also found that using resources outside of Go rails helpful too. I found things clicked more when I started relating the things I had learnt between different sources. I highly recommend Pragmatic Studios Rails course.

  • @CuratedTikToks
    @CuratedTikToks Před měsícem

    At, 13:00, where is the logic for updating post.like_count?

  • @dencam
    @dencam Před 10 měsíci +2

    Much cleaner and faster🎉

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

    how do i turn the buttton into a heart?

    • @GorailsTV
      @GorailsTV  Před 9 měsíci +1

      Use an SVG icon

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

      Hey @@GorailsTV , Can you share the link of the video where you added likes to comment as well by making this reusable?