Skip to content

Commit

Permalink
Fix typo in the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfranca committed Nov 15, 2021
1 parent 41e4136 commit 1a06f5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionview/lib/action_view/model_naming.rb
Expand Up @@ -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
Expand Down

0 comments on commit 1a06f5d

Please sign in to comment.