We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee5cd6f commit 9f8a3dbCopy full SHA for 9f8a3db
railties/lib/rails/generators/rails/authentication/templates/models/user.rb
@@ -2,5 +2,5 @@ class User < ApplicationRecord
2
has_secure_password
3
has_many :sessions, dependent: :destroy
4
5
- normalizes :email_address, with: -> { _1.strip.downcase }
+ normalizes :email_address, with: -> { |e| e.strip.downcase }
6
end
0 commit comments