$ -> $('#check_form').submit -> host = $('#check_host').val() window.location.href = "<%= path :result, %i(host) %>" false