Deviseでusernameの大文字小文字を区別する方法

# Configure which authentication keys should be case-insensitive. # These keys will be downcased upon creating or modifying a user and when used # to authenticate or find a user. Default is :email. config.case_insensitive_keys = []

https://teratail.com/questions/257366 external_link