Skip to content

Commit 5362016

Browse files
authored
Merge pull request rails#53116 from baldarn/main
fix for rubocop failing after initial generation
2 parents 5df633d + b6ade9e commit 5362016

File tree

1 file changed

+1
-1
lines changed
  • railties/lib/rails/generators/rails/authentication/templates/app/models

1 file changed

+1
-1
lines changed

railties/lib/rails/generators/rails/authentication/templates/app/models/user.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ class User < ApplicationRecord
22
has_secure_password
33
has_many :sessions, dependent: :destroy
44

5-
normalizes :email_address, with: -> e { e.strip.downcase }
5+
normalizes :email_address, with: ->(e) { e.strip.downcase }
66
end

0 commit comments

Comments
 (0)