Chris is over here calmly dropping nuggets of wisdom!
@hardestgammaray8 ай бұрын
Hey Chris. Thank you for the course. It's just what was needed. You are doing a very great job. I am really thankful and wishing you all the best! Once again, thank you!
@GorailsTV8 ай бұрын
You're welcome and so glad to hear that!!
@olegmitnik9617 Жыл бұрын
Really enjoyed this series. Thank you very much, Chris! Definitely an excellent course for beginners! GoRails🚀
@klnmn372210 ай бұрын
Wow! Would've never figured out that delete button on my own. Thanks a ton for the knowledge.
@sebb44559 ай бұрын
You're incredible Chris thanks for so so much! amazing teacher
@GorailsTV9 ай бұрын
That makes my day! 💖
@rodandnathalie Жыл бұрын
Thanks for tip about `ActionView::RecordIdentifier`!
@GorailsTV Жыл бұрын
Probably one of my most used modules!
@VipulChaudhary-c1f9 ай бұрын
I first like the video and then watch
@estebankrauwezuk9241 Жыл бұрын
Awesome, thanks!
@olegmitnik9617 Жыл бұрын
On 17:25 you remove your cover image clicking "Remove cover image" link but when I click this button nothing happens *until I refresh thе page* . Why is it behave like this? Oh, and when I choose a file, it's not display an image - just cover-image-file--name as a text until I update post. Why?
@winkthecat Жыл бұрын
At the top of your _form partial, you probably have but you need: since the partial doesn't need the instance variable version of blog_post
@snailprogrammer748310 ай бұрын
Can I adapt this use it without ActionText?
@ellenjunker217210 ай бұрын
What if I'm creating a new blog post with an image, but for some reason I want to remove that image before publishing the blog post? If I try to remove it, I get an error because the path isn't accessible since the blog post isn't created yet
@GorailsTV10 ай бұрын
You can use a little JavaScript to clear the file field. input.value = null
@ellenjunker21729 ай бұрын
@@GorailsTV thank you!
@pranavaher603610 ай бұрын
Not able see cover image field once deployed on render. Got below log on render ! Unable to load application: Zeitwerk::NameError: expected file /opt/render/project/src/app/controllers/cover_images.rb to define constant CoverImages, but didn't Is anyone facing the same issue.
@GorailsTV10 ай бұрын
Your controller files need to end with "_controller.rb". Rename it to "cover_images_controller.rb" and make sure the class inside matches that name.
@ricardomordaunt1101 Жыл бұрын
Thanks Chris..
@andresgutgon Жыл бұрын
Turbo is cool but would be great to see also file uploads of rails app as an API for a spa with react or similar
@dencam Жыл бұрын
Hotwire is pretty decent no need for React.
@AlexanderShelestov Жыл бұрын
It's cool, until you need something special. So eventually you come to JS again, and all the knowledge of Stimulus, HotWire and so on is useless :) For example, let's add some file type and size validations and preview.
@GorailsTV Жыл бұрын
All doable with Rails and Hotwire.
@AlexanderShelestov Жыл бұрын
@@GorailsTV Doable, but I mean you need to twist yourself in a knot to do this :) Really, if you're familiar with JS and some popular libraries it will be much much easier to implement whatever you want. And this knowledge will help you later anyway, so it's better to invest in JS than in Hotwire. Just opinion, of course. Cause I'm familiar with JS (full-stack) and many times tried to adopt all of these "turbo-wires". At the end it was faster to get back to JS. And you also can hire a JS developer to support this features later.