Brazilian here! "Divise" customization tutorials and even articles on the subject are very hard to find, believe me But you helped me to open the horizons for these 2 points that I want to put in my system! Which is about images and login with username Even though the automatic subtitle translator didn't help, it was easy to understand because I already know the language ... It would help in my English if you tried to speak less slang, but I know that this request is irrelevant and yet it is easy to understand! Thanks!
@rakeshjoshi37203 жыл бұрын
guys imagemagick variant is changing write =>avatar.variant(resize_to_fit: [100, 100]).processed , instead to resize 100*100 .
@BraisonsCrece2 жыл бұрын
Thanks for share Deanin! 🥳 We really appreciate your work... I'm trying to tackle all new issues that I usually found on my code, and with your channel, I got much more power to do it! 💪💪💪😂 I'll see all of them, I promise 🙂👍
@marioskanellopoulos87804 жыл бұрын
Thank you so much for this video Dean. I was struggling with my project for so long till I thought about a default profile and likely you had a video about it.
@ervintorra4 жыл бұрын
Keep up the good work!
@Deanin4 жыл бұрын
Thank you! I'll do my best!
@vietnguyenc66124 жыл бұрын
That is great man thank you. That helps a lot
@Benjamin-Chavez4 жыл бұрын
You saved me so much time. Thank you l!! Subscribed!
@franitis Жыл бұрын
Thanks so much!
@DeepakKumar-jy7wo4 жыл бұрын
Again goood one :)
@josegazmuri14283 жыл бұрын
hi, was wondering how you do those shortcuts like .field, haven't managed to add to my vscode settings
@Cartterr.2 жыл бұрын
Hi man! Thanks for the video, but sadly it throws me the error "ActiveStorage::FileNotFoundError" after I change the image from the edit page, I'm not sure what i'm doing wrong. the issues is specifically here: avatar.variant(resize_to_fit: [100, 100]).processed Can you give me a hand please?
@danielneves4909 Жыл бұрын
Great!!!
@aulbourn4 жыл бұрын
thanks this helped out a lot!! cheers!!!
@shalkhabaz4 жыл бұрын
why you didn't use for example gravatar 🤔
@alexandredomingosfilho52752 жыл бұрын
Hello Deanin, can you help me buddy? I'm getting this error when clicking logout button: undefined method `photo_thumbnail' for nil:NilClass Thanks in advance!
@Deanin2 жыл бұрын
I'm not entirely sure, but the error is saying that after you logout, somewhere you're trying to display the thumbnail photo. So if you're showing the image on the page, make sure it has a check for however the image is being displayed.
@alexandredomingosfilho52752 жыл бұрын
@Deanin Thanks buddy. After putting this conditional in my view, the problem was solved. Thanks for your videos, they help me a lot!!!
@prodbyindigo4 жыл бұрын
this is sick
@ttovarischh3 жыл бұрын
Thank you so very much! You are very sweet by the way :)
@Deanin3 жыл бұрын
Glad it helped, I appreciate the kind words too haha
@Telugudroid4 жыл бұрын
hi Deanin, i am making an web app ( very basic one ) but i have an problem , whenever I retrieve created_at column it outputs date with time and time zone, but I want only date that created at , can you help me with this, Thank you Deanin
@Deanin4 жыл бұрын
I think I covered it a bit in the blog project a little bit, but basically you can grab the created_at or updated_at and call strftime to customize them as much as you want. Ex: Which gives you: Thursday, April 30 2020 If you want anything else, you can use a tool like strftime.net/ to format your date as needed and then you just paste that string into the strftime. I'm not on my computer right now, so sorry for the formatting, but I hope this made sense? If not, let me know and I'll get back to you in a bit when I'm on my computer. ♥️
@Telugudroid4 жыл бұрын
@@Deanin Thanks deanin strftime works , thank you so much .....
@Deanin4 жыл бұрын
Yay! Happy to help!!
@cyber-javier4 жыл бұрын
Hi, I finished all the steps but for some reason when I try to update a new avatar, it only stays the defaul profile photo.
@cyber-javier4 жыл бұрын
Fixed it! I had only update in the sanitizer, instead of account_update