User Avatars with Rails Active Storage

Поделиться
HTML-код
  • Опубликовано: 11 дек 2024

Комментарии • 24

  • @gglobensky
    @gglobensky 3 года назад +1

    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 года назад +1

      That means a lot! Hopefully one day!

  • @cheatdayfiends748
    @cheatdayfiends748 3 года назад +2

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

  • @leonmezu
    @leonmezu 4 года назад +2

    Man I'm loving you!

  • @Goldduy
    @Goldduy 4 года назад +2

    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

    • @cyber-javier
      @cyber-javier 4 года назад

      I got the same problem. Could you fix it?

  • @rahu23156
    @rahu23156 3 года назад

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

  • @germanaquila2666
    @germanaquila2666 3 года назад +1

    btw you're a cool teacher. keep it up

    • @GorailsTV
      @GorailsTV  3 года назад

      Thanks! ✌️❤️

  • @zulhilmizainudin
    @zulhilmizainudin 6 лет назад +1

    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  6 лет назад +1

      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 6 лет назад

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

    • @GorailsTV
      @GorailsTV  6 лет назад +1

      @@zulhilmizainudin Yeah, activestorage / rails backend.

  • @terng_gio
    @terng_gio 4 года назад

    How to change the default image?

  • @eonacademy5036
    @eonacademy5036 5 лет назад +6

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

  • @EspacioContemporaneo
    @EspacioContemporaneo 4 года назад

    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

  • @taninbhm5618
    @taninbhm5618 5 лет назад

    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.

    • @cyber-javier
      @cyber-javier 4 года назад

      I got the same prolem. Could you fix it?

  • @germanaquila2666
    @germanaquila2666 3 года назад

    Dude this is great thanks

  • @pixelloopy
    @pixelloopy 4 года назад +1

    Brilliant!

  • @GorailsTV
    @GorailsTV  6 лет назад +6

    First!

  • @ComedianT-rex
    @ComedianT-rex 6 лет назад +1

    Second