Remove case_sensitive validator from User

This was removed in Rails 6.1
This commit is contained in:
Justin Edmund 2021-10-27 09:43:15 -07:00
parent eda5c5cc4e
commit 56f166d816

View file

@ -10,7 +10,6 @@ class User < ApplicationRecord
length: { minimum: 3, maximum: 26 }
validates :email,
case_sensitive: false,
presence: true,
uniqueness: true,
email: true