From 37f818a29376529a067ec3239f68781ad3131fc8 Mon Sep 17 00:00:00 2001 From: Artin Boghosian Date: Mon, 12 Feb 2024 13:36:08 -0800 Subject: [PATCH] Update mapping.rb Fix grammer on comment for .find_scope! --- lib/devise/mapping.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/devise/mapping.rb b/lib/devise/mapping.rb index 7c7ea0085b..8b1f94ced2 100644 --- a/lib/devise/mapping.rb +++ b/lib/devise/mapping.rb @@ -30,7 +30,7 @@ class Mapping #:nodoc: alias :name :singular - # Receives an object and find a scope for it. If a scope cannot be found, + # Receives an object and finds a scope for it. If a scope cannot be found, # raises an error. If a symbol is given, it's considered to be the scope. def self.find_scope!(obj) obj = obj.devise_scope if obj.respond_to?(:devise_scope)