Build a Blog with Rails Part 20: Upload Cover Images in Rails with ActiveStorage

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Chris is over here calmly dropping nuggets of wisdom!

tylerporter
Автор

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!

hardestgammaray
Автор

Really enjoyed this series. Thank you very much, Chris! Definitely an excellent course for beginners! GoRails🚀

olegmitnik
Автор

Wow! Would've never figured out that delete button on my own. Thanks a ton for the knowledge.

klnmn
Автор

You're incredible Chris thanks for so so much! amazing teacher

sebb
Автор

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?

olegmitnik
Автор

Can I adapt this use it without ActionText?

snailprogrammer
Автор

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

ellenjunker
Автор

Not able see cover image field once deployed on render.
Got below log on render

! Unable to load application: Zeitwerk::NameError: expected file to define constant CoverImages, but didn't

Is anyone facing the same issue.

pranavaher
Автор

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

andresgutgon
Автор

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.

AlexanderShelestov
join shbcf.ru