Fix typo in the documentation
This commit is contained in:
parent
41e41360bb
commit
1a06f5dc09
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue