# File lib/action_view/helpers/prototype_helper.rb, line 420 def submit_to_remote(name, value, options = {}) options[:with] ||= 'Form.serialize(this.form)' html_options = options.delete(:html) || {} html_options[:name] = name button_to_remote(value, options, html_options) end