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 Жыл бұрын
Glad you enjoyed it! We will be doing more!
@yeinercarvajalquina7727 Жыл бұрын
I love this, I follow you recently and I am excited with all the code here! Thanks a lot !!!
@unaitrecet5487 Жыл бұрын
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?
@ernepazzo1212 Жыл бұрын
Excelente trabajo!!! Te estoy siguiendo Chris!!!
@kenroyreid35279 ай бұрын
Great coding man respect
@Mikevets8 ай бұрын
At, 13:00, where is the logic for updating post.like_count?
Жыл бұрын
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 Жыл бұрын
Check out our learning path at gorails.com/path
@jl789nz Жыл бұрын
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.
@RonDavisceo Жыл бұрын
how do i turn the buttton into a heart?
@GorailsTV Жыл бұрын
Use an SVG icon
@ajaykathwate759510 ай бұрын
Hey @@GorailsTV , Can you share the link of the video where you added likes to comment as well by making this reusable?
@dencam Жыл бұрын
Much cleaner and faster🎉
@GorailsTV Жыл бұрын
Sooo much better!
@mikezogheib63045 ай бұрын
Hey, Cool Video. I really appreciated the tutorial and so on and I'm really greatful for this stuff. But the thing is when I try to display the integer value of likes that is stored then this returns: #. Why does it do that?
@GorailsTV5 ай бұрын
You've got a set of database records in our variable, not a number. You'll want to add .count to have the database return the number of records instead of the actual records themselves.
@mikezogheib63045 ай бұрын
@@GorailsTV Yeah I fixed that, thanks. But now I ran into the issue that when I implement turbo stream in my update method that it says unknown format when I click the like button.(ActionController::UnknownFormat)