From 1a06f5dc09dcb71c3a8196c3905a3f6909a0f04e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Mon, 15 Nov 2021 23:24:00 +0000 Subject: [PATCH] Fix typo in the documentation --- actionview/lib/action_view/model_naming.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actionview/lib/action_view/model_naming.rb b/actionview/lib/action_view/model_naming.rb index 6468cd6cd2..76d5b3e3f4 100644 --- a/actionview/lib/action_view/model_naming.rb +++ b/actionview/lib/action_view/model_naming.rb @@ -2,7 +2,7 @@ module ActionView module ModelNaming # :nodoc: - # Converts the given object to an ActiveModel compliant one. + # Converts the given object to an Active Model compliant one. def convert_to_model(object) object.respond_to?(:to_model) ? object.to_model : object end