devise
devise copied to clipboard
Fix typo in comments
Is this typo? Sorry, I can't English.
- 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
- I ran this to confirm.
bin/test test/models/lockable_test.rb:93
- 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