I made an example application with design and facebook auth. I want to show fb profile photo as a user avatar and it works in Chrome and IE. But in firefox, I see a warning “Tracking Protection” - “Connection is not secure.”
I wrote a simple method:
def avatar_for(user) avatar_url = user.image image_tag(avatar_url, alt: user.name, class: "avatar") unless user.image.nil? end
How can I make this method / connection safe?
EDIT: that’s exactly how Max wrote: using the https address vis secure_image_url removes the warning in the “Tracking Protection” section of the warning in Firefox, but the image does not appear.
security ruby ruby-on-rails
dezerb
source share