I have a search form and on submission i’d like to send a get request with the parameter that was input into the text field
=form_for User.new, :url => 'search' do |f|
= f.text_field :full_name, style: 'width: 84%;'
= f.submit "Search", class: 'btn btn-primary', style: 'height: 40px;'
how would I construct the url for with the parameter?
in
=form_for User.new, :url => 'search',:method => :getPassing
:method => :getexplicitly.