TIL: Easily Support Gravatars in Rails

from blog Good Enough, | ↗ original
We’re building some software where we’d like to display avatars for email contacts even if they aren’t users of our software. While Gravatar is a relic of Web 2.0, we’ve found that there are still a significant number of people who have their email addresses in that system. Here’s how I streamlined displaying an avatar for an email address if it...