Case insensitive emails and usernames with Postgres
TLDR: Use case insensitive text (citext) in Postgres, and don’t worry about email/usernames in application code.
TLDR: Use case insensitive text (citext) in Postgres, and don’t worry about email/usernames in application code.
A lot of Rails apps are using the gem did_you_mean to help during development. Most of these apps are probably going to run into an issue when upgrading to R...