We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41e4136 commit 1a06f5dCopy full SHA for 1a06f5d
actionview/lib/action_view/model_naming.rb
@@ -2,7 +2,7 @@
2
3
module ActionView
4
module ModelNaming # :nodoc:
5
- # Converts the given object to an ActiveModel compliant one.
+ # Converts the given object to an Active Model compliant one.
6
def convert_to_model(object)
7
object.respond_to?(:to_model) ? object.to_model : object
8
end
0 commit comments