Liking Posts With Hotwire in Ruby on Rails
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
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
Glad you enjoyed it! We will be doing more!
Great coding man respect
I love this, I follow you recently and I am excited with all the code here! Thanks a lot !!!
Excelente trabajo!!! Te estoy siguiendo Chris!!!
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?
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?
Check out our learning path at gorails.com/path
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.
At, 13:00, where is the logic for updating post.like_count?
Much cleaner and faster🎉
Sooo much better!
how do i turn the buttton into a heart?
Use an SVG icon
Hey @@GorailsTV , Can you share the link of the video where you added likes to comment as well by making this reusable?