devise icon indicating copy to clipboard operation
devise copied to clipboard

Fix typo in comments

Open soma-git-practice opened this issue 1 year ago • 0 comments

Is this typo? Sorry, I can't English.

  1. I set pry to confirm.
# lib/devise/models/lockable.rb:90

# Overwrites active_for_authentication? from Devise::Models::Activatable for locking purposes
# by verifying whether a user is active to sign in or not based on locked?
def active_for_authentication?
  binding.pry
  super && !access_locked?
end
  1. I ran this to confirm.
bin/test test/models/lockable_test.rb:93
  1. I ran this to confirm.
method(__method__).super_method.source_location
# => [~~~/lib/devise/models/confirmable.rb", 144]

method(__method__).super_method.super_method.source_location
# => [~~~/lib/devise/models/authenticatable.rb", 89]

method(__method__).super_method.super_method.super_method.source_location
# => nil

soma-git-practice avatar Dec 04 '24 14:12 soma-git-practice