# File lib/action_view/helpers/form_helper.rb, line 108 def convert_to_model(object) object.respond_to?(:to_model) ? object.to_model : object end