Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in comments #5738

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

soma-git-practice
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant