User Avatars with Rails Active Storage

Ғылым және технология

► Check out gorails.com for Pro episodes and more!
► Ruby on Rails hosting with Hatchbox.io! hatchbox.io

Пікірлер: 24

  • @gglobensky
    @gglobensky3 жыл бұрын

    I don't understand why some wonderful teachers like you don't have 100 000 views. You definitely deserve it. Thanks a whole lot for the invaluable knowledge you provide.

  • @GorailsTV

    @GorailsTV

    3 жыл бұрын

    That means a lot! Hopefully one day!

  • @cheatdayfiends748
    @cheatdayfiends7483 жыл бұрын

    Make sure to add - gem "image_processing" if you are not using the template programming. This will handle the variant resizing

  • @leonmezu
    @leonmezu4 жыл бұрын

    Man I'm loving you!

  • @germanaquila2666
    @germanaquila26663 жыл бұрын

    Dude this is great thanks

  • @eonacademy5036
    @eonacademy50364 жыл бұрын

    I just love your videos my friend, if i get rich someday, i’ll remember you 💜😺🇲🇽 greetings.....

  • @GorailsTV

    @GorailsTV

    4 жыл бұрын

    Haha! Thanks! :D

  • @germanaquila2666
    @germanaquila26663 жыл бұрын

    btw you're a cool teacher. keep it up

  • @GorailsTV

    @GorailsTV

    3 жыл бұрын

    Thanks! ✌️❤️

  • @pixelloopy
    @pixelloopy4 жыл бұрын

    Brilliant!

  • @zulhilmizainudin
    @zulhilmizainudin5 жыл бұрын

    Question about the `resize` in that `variant()` function. Will it slow down my Rails app? The resize will take place in back-end or front-end?

  • @GorailsTV

    @GorailsTV

    5 жыл бұрын

    The resize takes place on the backend and is done the very first time it's requested. They cache it so that they never have to recalculate it again.

  • @zulhilmizainudin

    @zulhilmizainudin

    5 жыл бұрын

    @@GorailsTV who are 'they' here? The Rails back-end?

  • @GorailsTV

    @GorailsTV

    5 жыл бұрын

    @@zulhilmizainudin Yeah, activestorage / rails backend.

  • @Goldduy
    @Goldduy4 жыл бұрын

    I followed every single step and when i try to upload a new image it doesnt change the avatar. It reminds the default one. Please help

  • @AprendeTasacionInmobiliaria

    @AprendeTasacionInmobiliaria

    3 жыл бұрын

    I got the same problem. Could you fix it?

  • @rahu23156
    @rahu231563 жыл бұрын

    i did accordingly you but avatar does not show in my user edit section please help me

  • @EspacioContemporaneo
    @EspacioContemporaneo4 жыл бұрын

    nice video tks, i follow all the steps but i have problem in this part: i dont not what its. undefined method `email' for nil:NilClass

  • @ternggio6563
    @ternggio65634 жыл бұрын

    How to change the default image?

  • @taninbhm5618
    @taninbhm56185 жыл бұрын

    Hiii, i did everything as you did, but when i update the avatar and refresh the user edit page nothing happens, the gravatar stays and new picture is not there. thanks in advance

  • @GorailsTV

    @GorailsTV

    5 жыл бұрын

    Make sure you permitted the parameter for it.

  • @AprendeTasacionInmobiliaria

    @AprendeTasacionInmobiliaria

    3 жыл бұрын

    I got the same prolem. Could you fix it?

  • @GorailsTV
    @GorailsTV5 жыл бұрын

    First!

  • @thementalspacetms1162
    @thementalspacetms11625 жыл бұрын

    Second

Келесі